Application benchmarks
- CPU
- INTEL(R) XEON(R) PLATINUM 8573C · 4 logical CPUs
- OS
- Linux-6.17.0-1022-azure-x86_64-with-glibc2.39
- Samples
- 20
Measurement details
- Repeated warmups
- 3
- Timing
- Median ms · one-shot / repeated · startup excluded
- RSS
- Median MiB · separate one-shot processes including startup
- Startup
- Empty -c command · launch through exit · normal defaults
- Sort
- Click column headers
Monty 1.1.0 · CPython 3.14.8 · PyPy 8.0.0
Runtimes and build details
monty · monty · 1.1.0
/home/runner/work/flying-circus/flying-circus/_runtimes/monty/bin/monty
Prebuilt PyPI wheel: pydantic-monty-runtime==1.1.0; source revision and compiler flags unverifiedc9d19e7256886558c67678582d0d223de3eb05232f69da9da657ab9e090f3f35
cpython · cpython · Python 3.14.8
/opt/hostedtoolcache/Python/3.14.8/x64/bin/python3.14
Source revision and compiler flags unverifieda5230d8adbd26c2185d77fb003597c4ee9c44c2369fc179122ff7c3a3a58ae59
pypy · pypy · Python 3.11.16 (78565394c9b5, Sep 18 2026, 08:00:14)
[PyPy 8.0.0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
/opt/hostedtoolcache/PyPy/3.11.16/x64/bin/pypy3.11
Source revision and compiler flags unverified7aebd6513a8f1dc8529abecf80d25b66951ddb5e9bab14b2750a7dab7947a94d
Process startup · ms
| Monty | CPython | PyPy |
|---|---|---|
| 1.41 | 11.7 | 19.0 |
Runtime relative to CPython
CPython = 1× · lower is faster · median runtime, startup excluded.
One-shot
Shared scale: 0–14.7× · vertical line = 1×
Repeated
Shared scale: 0–106× · vertical line = 1×
Runtime · ms · one-shot / repeated
| Workload | Monty | CPython | PyPy |
|---|---|---|---|
| expense_report | 0.42 / 0.33 | 1.82 / 0.52 | 0.41 / 0.51 |
| order_cleanup | 0.50 / 0.39 | 1.88 / 0.57 | 0.48 / 0.60 |
| api_report | 0.81 / 0.46 | 1.87 / 0.57 | 0.47 / 0.60 |
| capacity_planning | 58.8 / 56.3 | 18.4 / 16.4 | 4.22 / 4.11 |
| portfolio_risk | 110 / 108 | 79.4 / 77.7 | 14.1 / 13.0 |
| ticket_search | 35.2 / 33.2 | 12.9 / 9.84 | 20.6 / 19.2 |
| game_fannkuch | n/a | 464 / 456 | 104 / 87.7 |
| game_nbody | 595 / 590 | 110 / 107 | 18.0 / 17.1 |
| game_pidigits | n/a | 200 / 195 | 200 / 188 |
| game_spectral_norm | 540 / 530 | 121 / 118 | 26.0 / 22.6 |
| game_regex_dna | n/a | 306 / 296 | 254 / 182 |
| game_meteor_contest | n/a | 123 / 119 | 112 / 94.4 |
| perf_barnes_hut | 5600 / 5500 | 1060 / 1040 | 584 / 567 |
| perf_float | 355 / 328 | 85.9 / 78.4 | 17.8 / 15.5 |
| perf_unpack_sequence | 341 / 341 | 23.3 / 20.5 | 57.5 / 52.1 |
| perf_json_dumps | 12.9 / 11.1 | 19.4 / 17.6 | 21.6 / 14.9 |
| perf_json_loads | 1.61 / 1.26 | 3.40 / 1.93 | 1.12 / 1.28 |
| perf_gc_traversal | n/a | 21.0 / 20.1 | 17.6 / 2120 |
| text_line_logs_small | 0.54 / 0.48 | 0.50 / 0.49 | 0.81 / 0.64 |
| text_line_logs_medium | 21.5 / 20.8 | 11.9 / 10.5 | 17.2 / 15.1 |
| text_regex_logs_small | 1.35 / 0.95 | 0.82 / 0.65 | 2.18 / 0.98 |
| text_regex_logs_medium | 32.5 / 31.0 | 21.7 / 20.5 | 42.2 / 28.9 |
| text_csv_aggregate_small | 5.82 / 5.50 | 2.14 / 2.10 | 8.13 / 7.60 |
| text_csv_aggregate_medium | 528 / 511 | 113 / 107 | 89.1 / 79.8 |
| text_csv_cleanup_small | 10.7 / 10.2 | 3.20 / 3.09 | 14.6 / 14.2 |
| text_csv_cleanup_medium | 1050 / 1010 | 212 / 204 | 237 / 216 |
| text_json_parse_small | 0.72 / 0.47 | 0.45 / 0.43 | 0.61 / 0.55 |
| text_json_parse_medium | 14.1 / 11.6 | 15.2 / 13.9 | 6.99 / 7.82 |
| text_json_transform_small | 0.84 / 0.60 | 0.65 / 0.64 | 0.77 / 0.63 |
| text_json_transform_medium | 17.3 / 14.6 | 16.4 / 15.2 | 12.1 / 11.2 |
| text_json_lines_small | 0.88 / 0.62 | 0.73 / 0.72 | 0.94 / 0.75 |
| text_json_lines_medium | 18.3 / 17.5 | 23.5 / 22.6 | 18.8 / 17.5 |
| memory_string_list_short | 290 / 255 | 133 / 123 | 95.8 / 115 |
| memory_string_list_long | 380 / 340 | 144 / 133 | 107 / 148 |
| memory_string_index_short | 142 / 127 | 103 / 89.4 | 89.3 / 81.1 |
| memory_string_index_long | 192 / 170 | 115 / 103 | 102 / 100 |
| memory_customer_records | 524 / 467 | 227 / 221 | 169 / 157 |