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 44s
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.8212.823.8

Runtime · ms · one-shot / repeated

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

WorkloadMontyCPythonPyPy
game_nbody776 / 775143 / 14319.4 / 19.1
portfolio_risk150 / 15184.4 / 82.612.8 / 13.5
game_spectral_norm694 / 698136 / 13422.6 / 22.2
game_fannkuchn/a491 / 48587.1 / 86.1
capacity_planning77.5 / 75.421.7 / 19.64.45 / 4.40
expense_report0.39 / 0.341.90 / 0.580.45 / 0.57
perf_float387 / 34795.5 / 88.324.8 / 21.1
order_cleanup0.48 / 0.421.94 / 0.610.53 / 0.63
api_report0.83 / 0.461.96 / 0.620.52 / 0.62
perf_json_loads1.65 / 1.213.74 / 2.191.30 / 1.39
game_regex_dnan/a320 / 310219 / 148
perf_barnes_hut7010 / 70401260 / 1250716 / 634
memory_string_list_short332 / 297154 / 14285.4 / 131
text_csv_aggregate_medium595 / 572137 / 13197.6 / 75.8
perf_json_dumps14.3 / 11.621.7 / 19.524.2 / 18.3
text_json_parse_medium15.1 / 11.017.2 / 15.110.7 / 11.0
perf_gc_traversaln/a22.6 / 19.214.3 / 2050
memory_customer_records616 / 523257 / 247203 / 164
text_json_lines_medium21.0 / 20.628.1 / 26.518.9 / 18.7
memory_string_list_long450 / 395165 / 153119 / 170
text_csv_cleanup_medium1160 / 1140262 / 256197 / 187
game_meteor_contestn/a123 / 12091.7 / 87.8
text_json_transform_small0.88 / 0.540.72 / 0.740.56 / 0.64
text_json_lines_small0.95 / 0.650.81 / 0.850.76 / 0.79
memory_string_index_short159 / 135109 / 95.4108 / 72.8
memory_string_index_long227 / 190125 / 106127 / 84.2
text_json_parse_small0.78 / 0.470.49 / 0.530.41 / 0.57
text_json_transform_medium18.4 / 14.118.6 / 16.615.9 / 14.5
game_pidigitsn/a197 / 196178 / 179
text_regex_logs_medium39.0 / 37.924.9 / 23.828.6 / 22.4
text_line_logs_small0.58 / 0.570.54 / 0.580.63 / 0.69
text_line_logs_medium27.6 / 27.213.8 / 12.217.5 / 16.6
text_regex_logs_small1.45 / 0.970.92 / 0.762.62 / 1.01
ticket_search41.7 / 39.414.2 / 11.720.8 / 19.8
perf_unpack_sequence333 / 33827.8 / 23.658.2 / 57.5
text_csv_aggregate_small6.40 / 6.092.55 / 2.508.34 / 8.27
text_csv_cleanup_small11.8 / 11.43.82 / 3.7614.9 / 15.3

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_small19.319.457.9
text_json_lines_medium23.924.0124
order_cleanup19.419.457.5
expense_report19.319.457.5
capacity_planning19.319.358.1
ticket_search19.319.360.2
perf_barnes_hut19.419.488.9
api_report19.419.457.5
text_line_logs_medium23.523.5125
perf_json_dumps19.419.460.6
perf_unpack_sequence19.319.362.7
text_json_parse_medium23.723.7126
perf_json_loads19.419.457.5
text_csv_cleanup_small19.419.459.2
portfolio_risk19.319.358.5
text_regex_logs_medium21.421.4127
text_line_logs_small19.419.457.9
text_csv_aggregate_small19.419.358.6
game_spectral_norm19.419.359.1
text_json_transform_medium23.623.6126
text_regex_logs_small19.419.458.1
game_nbody19.419.358.8
text_json_parse_small19.419.357.9
text_json_lines_small19.419.357.9
memory_string_index_long67.453.3124
memory_string_index_short56.341.6108
text_csv_cleanup_medium49.733.1147
text_csv_aggregate_medium41.827.4149
memory_string_list_long11369.0125
memory_string_list_short89.845.899.5
memory_customer_records15767.3134
perf_float57.628.469.9
game_fannkuchn/a19.458.7
game_meteor_contestn/a19.460.9
game_pidigitsn/a19.364.9
perf_gc_traversaln/a19.366.1
game_regex_dnan/a19.387.2