Update readme

This commit is contained in:
Eden Kirin
2023-10-19 22:08:52 +02:00
parent 4b838383ed
commit c286239a7e

View File

@ -4,6 +4,7 @@ Libs used for benchmark:
- [pydantic 2.4.2](https://docs.pydantic.dev/latest/) - [pydantic 2.4.2](https://docs.pydantic.dev/latest/)
- [msgspec 0.18.4](https://jcristharif.com/msgspec/index.html) - [msgspec 0.18.4](https://jcristharif.com/msgspec/index.html)
- [attrs 23.1.0](https://www.attrs.org)
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. 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.
@ -31,11 +32,15 @@ python main.py
## Results ## Results
Test file: json, 162MB
``` ```
*** Running PydanticBenchmark *** Running PydanticBenchmark
Finished in 10.781s Finished in 10.733s
*** Running AttrsBenchmark
Finished in 3.271s
*** Running MsgSpecBenchmark *** Running MsgSpecBenchmark
Finished in 1.725s Finished in 1.685s
``` ```
``` ```