Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dkraczkowski committed Oct 20, 2023
1 parent d9d1d23 commit 4c35317
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 110 deletions.
1 change: 1 addition & 0 deletions benchmarks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PWD := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))

benchmark:
hyperfine --export-markdown README.md \
'poetry run python --version'\
'poetry run python benchmarks/chili_decode.py'\
'poetry run python benchmarks/pydantic_decode.py'\
'poetry run python benchmarks/attrs_decode.py'\
Expand Down
17 changes: 9 additions & 8 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `poetry run python benchmarks/chili_decode.py` | 246.4 ± 1.6 | 244.8 | 249.6 | 1.00 |
| `poetry run python benchmarks/pydantic_decode.py` | 288.2 ± 1.8 | 284.5 | 291.0 | 1.17 ± 0.01 |
| `poetry run python benchmarks/attrs_decode.py` | 256.6 ± 1.8 | 253.3 | 259.5 | 1.04 ± 0.01 |
| `poetry run python benchmarks/marshmallow_decode.py` | 256.8 ± 5.4 | 252.2 | 271.0 | 1.04 ± 0.02 |
| `poetry run python benchmarks/chili_encode.py` | 248.8 ± 4.2 | 243.6 | 256.5 | 1.01 ± 0.02 |
| `poetry run python benchmarks/pydantic_encode.py` | 298.0 ± 14.4 | 288.3 | 325.7 | 1.21 ± 0.06 |
| `poetry run python benchmarks/attrs_encode.py` | 257.9 ± 3.6 | 252.6 | 263.4 | 1.05 ± 0.02 |
| `poetry run python benchmarks/marshmallow_encode.py` | 254.0 ± 2.7 | 250.9 | 260.6 | 1.03 ± 0.01 |
| `poetry run python --version` | 271.6 ± 39.1 | 251.6 | 381.0 | 1.00 |
| `poetry run python benchmarks/chili_decode.py` | 293.0 ± 5.6 | 287.4 | 305.9 | 1.08 ± 0.16 |
| `poetry run python benchmarks/pydantic_decode.py` | 346.7 ± 18.0 | 330.3 | 386.3 | 1.28 ± 0.20 |
| `poetry run python benchmarks/attrs_decode.py` | 305.2 ± 7.2 | 297.6 | 321.9 | 1.12 ± 0.16 |
| `poetry run python benchmarks/marshmallow_decode.py` | 304.1 ± 4.4 | 299.2 | 314.0 | 1.12 ± 0.16 |
| `poetry run python benchmarks/chili_encode.py` | 295.9 ± 5.1 | 285.6 | 303.3 | 1.09 ± 0.16 |
| `poetry run python benchmarks/pydantic_encode.py` | 342.7 ± 8.2 | 328.6 | 356.8 | 1.26 ± 0.18 |
| `poetry run python benchmarks/attrs_encode.py` | 303.5 ± 7.3 | 291.0 | 314.5 | 1.12 ± 0.16 |
| `poetry run python benchmarks/marshmallow_encode.py` | 301.2 ± 4.2 | 292.8 | 308.6 | 1.11 ± 0.16 |
Loading

0 comments on commit 4c35317

Please sign in to comment.