Application benchmarks

CPU
AMD EPYC 7763 64-Core Processor · 4 logical CPUs
OS
Linux-6.17.0-1022-azure-x86_64-with-glibc2.39
Samples
20
Run duration
18m 30s
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
Percentage advantage vs CPython · largest improvement first; click headers to reorder

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 unverified
c9d19e7256886558c67678582d0d223de3eb05232f69da9da657ab9e090f3f35

cpython · cpython · Python 3.14.8
/opt/hostedtoolcache/Python/3.14.8/x64/bin/python3.14
Source revision and compiler flags unverified
a5230d8adbd26c2185d77fb003597c4ee9c44c2369fc179122ff7c3a3a58ae59

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 unverified
7aebd6513a8f1dc8529abecf80d25b66951ddb5e9bab14b2750a7dab7947a94d

Process startup · ms

MontyCPythonPyPy
1.6912.623.2

Runtime · ms · one-shot / repeated

Bars: CPython = midpoint · blue above = faster, red below = slower · shared asinh scale (5% transition)

WorkloadMontyCPythonPyPy
game_nbody773 / 774151 / 14919.1 / 19.2
portfolio_risk152 / 15184.1 / 83.712.2 / 13.5
game_spectral_norm695 / 686136 / 13422.2 / 22.7
game_fannkuchn/a497 / 49786.7 / 87.2
capacity_planning77.5 / 75.521.7 / 19.64.29 / 4.38
expense_report0.40 / 0.351.89 / 0.580.43 / 0.58
perf_float390 / 34995.3 / 89.823.9 / 21.3
api_report0.81 / 0.441.94 / 0.610.46 / 0.62
order_cleanup0.47 / 0.401.93 / 0.610.48 / 0.62
perf_json_loads1.61 / 1.193.69 / 2.181.22 / 1.37
perf_barnes_hut6890 / 68801260 / 1250706 / 541
game_regex_dnan/a316 / 309216 / 148
memory_string_list_short329 / 291153 / 14383.2 / 140
text_csv_aggregate_medium581 / 564136 / 13195.6 / 75.0
perf_json_dumps14.1 / 11.621.7 / 19.623.4 / 18.8
perf_gc_traversaln/a22.1 / 19.813.8 / 2080
text_json_parse_medium15.0 / 10.817.0 / 15.310.6 / 11.0
memory_customer_records613 / 538257 / 253201 / 162
text_json_lines_medium20.7 / 20.127.8 / 26.718.7 / 18.7
text_json_lines_small0.93 / 0.610.80 / 0.870.73 / 0.79
game_meteor_contestn/a123 / 12190.6 / 86.6
memory_string_list_long443 / 396167 / 156120 / 172
text_csv_cleanup_medium1140 / 1120256 / 250192 / 182
memory_string_index_short152 / 126101 / 91.9104 / 69.1
text_json_transform_small0.89 / 0.570.69 / 0.740.53 / 0.67
memory_string_index_long214 / 179113 / 102118 / 78.9
text_json_parse_small0.76 / 0.470.48 / 0.540.39 / 0.58
text_json_transform_medium18.2 / 13.918.3 / 16.615.8 / 14.5
game_pidigitsn/a198 / 197175 / 177
text_regex_logs_medium38.8 / 37.724.9 / 24.028.4 / 22.6
text_line_logs_small0.58 / 0.600.54 / 0.560.61 / 0.69
text_regex_logs_small1.45 / 0.990.92 / 0.782.58 / 1.05
text_line_logs_medium27.5 / 27.013.5 / 11.917.4 / 16.9
ticket_search41.0 / 39.213.8 / 11.720.0 / 19.7
perf_unpack_sequence335 / 34027.3 / 23.558.0 / 57.2
text_csv_aggregate_small6.36 / 6.072.51 / 2.508.15 / 8.22
text_csv_cleanup_small11.8 / 11.33.80 / 3.7714.6 / 15.1

Peak RSS · MiB · one-shot

Bars: CPython = midpoint · blue above = less memory, red below = more memory · shared asinh scale (5% transition)

WorkloadMontyCPythonPyPy
ticket_search19.319.460.2
text_line_logs_medium23.523.7125
game_spectral_norm19.319.459.1
order_cleanup19.419.457.5
text_json_lines_medium24.024.1124
api_report19.319.457.4
game_nbody19.419.458.8
text_json_transform_medium23.723.7126
perf_unpack_sequence19.419.462.6
text_csv_aggregate_small19.319.358.6
capacity_planning19.319.358.2
perf_json_dumps19.319.360.6
text_json_parse_medium23.623.6126
portfolio_risk19.319.358.5
text_regex_logs_small19.419.458.2
perf_json_loads19.419.357.4
text_line_logs_small19.419.457.8
expense_report19.419.457.4
text_regex_logs_medium21.521.4127
text_csv_cleanup_small19.419.459.2
perf_barnes_hut19.419.388.8
text_json_transform_small19.419.357.9
text_json_parse_small19.419.357.9
text_json_lines_small19.319.257.9
memory_string_index_long67.453.3124
memory_string_index_short56.341.6108
text_csv_cleanup_medium49.833.2147
text_csv_aggregate_medium42.127.6149
memory_string_list_long11269.0125
memory_string_list_short89.845.899.5
memory_customer_records15667.3134
perf_float57.528.469.9
game_fannkuchn/a19.358.7
game_meteor_contestn/a19.360.9
game_pidigitsn/a19.364.9
perf_gc_traversaln/a19.366.1
game_regex_dnan/a19.487.2