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 34s
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.7612.723.9

Runtime · ms · one-shot / repeated

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

WorkloadMontyCPythonPyPy
game_nbody779 / 780144 / 14219.1 / 18.9
portfolio_risk153 / 15384.1 / 83.012.2 / 13.2
game_spectral_norm687 / 687135 / 13422.3 / 22.0
game_fannkuchn/a489 / 48087.1 / 86.1
capacity_planning80.3 / 78.321.6 / 19.54.31 / 4.36
expense_report0.40 / 0.351.88 / 0.540.43 / 0.56
order_cleanup0.48 / 0.391.94 / 0.630.48 / 0.63
perf_float383 / 34694.5 / 89.024.1 / 22.0
api_report0.82 / 0.501.91 / 0.630.48 / 0.64
perf_json_loads1.61 / 1.213.66 / 2.161.25 / 1.39
perf_barnes_hut6980 / 70201260 / 1260707 / 559
game_regex_dnan/a316 / 310216 / 147
stdout_lines3.59 / 3.856.71 / 4.936.47 / 4.87
memory_string_list_short329 / 287154 / 14985.5 / 164
perf_json_dumps14.0 / 11.521.6 / 19.623.6 / 17.4
text_csv_aggregate_medium584 / 568137 / 12995.5 / 76.7
perf_gc_traversaln/a22.3 / 20.713.8 / 1550
text_json_parse_medium15.0 / 10.816.9 / 15.310.6 / 11.3
memory_customer_records599 / 549257 / 255201 / 170
text_json_lines_medium20.5 / 19.827.9 / 26.818.7 / 18.5
memory_string_index_short153 / 132102 / 96.0104 / 67.2
game_meteor_contestn/a123 / 12090.7 / 85.4
memory_string_list_long448 / 410166 / 159119 / 163
text_csv_cleanup_medium1140 / 1130253 / 255194 / 182
memory_string_index_long217 / 187115 / 108118 / 78.0
text_json_transform_small0.88 / 0.540.70 / 0.730.53 / 0.64
text_json_lines_small0.91 / 0.620.80 / 0.820.73 / 0.78
text_json_parse_small0.76 / 0.450.49 / 0.520.40 / 0.61
text_json_transform_medium18.1 / 13.918.3 / 16.515.8 / 15.0
game_pidigitsn/a197 / 196176 / 170
text_regex_logs_medium38.0 / 37.424.7 / 23.528.3 / 21.9
text_line_logs_small0.60 / 0.590.54 / 0.600.62 / 0.67
text_line_logs_medium27.4 / 27.113.6 / 12.217.4 / 16.6
text_regex_logs_small1.44 / 0.960.91 / 0.732.59 / 1.00
ticket_search41.4 / 39.713.8 / 11.420.2 / 19.8
perf_unpack_sequence335 / 34027.0 / 23.558.0 / 57.4
text_csv_aggregate_small6.38 / 6.062.51 / 2.468.23 / 8.33
text_csv_cleanup_small11.7 / 11.43.81 / 3.7314.7 / 15.0

Peak RSS · MiB · one-shot

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

WorkloadMontyCPythonPyPy
text_json_transform_medium23.523.6126
perf_barnes_hut19.319.488.6
expense_report19.319.357.4
text_regex_logs_small19.319.458.2
text_line_logs_small19.319.457.9
portfolio_risk19.319.358.4
ticket_search19.319.360.2
text_json_transform_small19.419.457.9
text_json_parse_small19.419.457.9
text_csv_cleanup_small19.419.459.2
text_json_lines_medium23.523.5124
text_json_lines_small19.419.457.9
game_spectral_norm19.319.359.1
order_cleanup19.219.257.5
text_csv_aggregate_small19.419.458.6
text_json_parse_medium23.623.5126
capacity_planning19.319.258.1
text_line_logs_medium23.623.6125
perf_json_dumps19.219.260.6
text_regex_logs_medium21.521.4127
perf_json_loads19.219.257.3
game_nbody19.319.258.8
api_report19.319.257.5
perf_unpack_sequence19.419.362.8
stdout_lines19.319.259.4
memory_string_index_long67.553.3124
memory_string_index_short55.941.6108
text_csv_cleanup_medium49.733.1147
text_csv_aggregate_medium42.127.4149
memory_string_list_long11269.0125
memory_string_list_short89.845.899.5
memory_customer_records15767.3134
perf_float57.728.469.9
game_fannkuchn/a19.258.7
game_meteor_contestn/a19.261.0
game_pidigitsn/a19.364.9
perf_gc_traversaln/a19.366.1
game_regex_dnan/a19.387.1