This commit is contained in:
Eden Kirin
2023-10-11 21:29:27 +02:00
parent b4cff50e8e
commit 3b89f3a2d3
2 changed files with 9 additions and 4 deletions

View File

@ -5,6 +5,8 @@ Libs used for benchmark:
- [pydantic 2.4.2](https://docs.pydantic.dev/latest/)
- [msgspec 0.18.4](https://jcristharif.com/msgspec/index.html)
Note that Pydantic used in benchmark is v2 which should be dozen of times faster than Pydantic v1. I have no time to waste benchmarking Pydantic v1.
## Usage
### Install virtual environment
@ -50,4 +52,11 @@ Finished in 1.725s
╚██╔╝ ██║ ██║██║ ██║ ╚════██║██║ ██║██║ ██╔═██╗ ██╔══██╗██╔══██║██║ ██║ ╚════██║
██║ ╚██████╔╝╚██████╔╝ ███████║╚██████╔╝╚██████╗██║ ██╗ ██████╔╝██║ ██║███████╗███████╗███████║
╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
██████╗ ██╗ ██████╗ ████████╗██╗███╗ ███╗███████╗
██╔══██╗██║██╔════╝ ╚══██╔══╝██║████╗ ████║██╔════╝
██████╔╝██║██║ ███╗ ██║ ██║██╔████╔██║█████╗
██╔══██╗██║██║ ██║ ██║ ██║██║╚██╔╝██║██╔══╝
██████╔╝██║╚██████╔╝ ██║ ██║██║ ╚═╝ ██║███████╗
╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
```