Avatar for the Bobronium user
Bobronium
copium
BlogDocsChangelog

Make copium with dict memo semantically equivalent to stdlib

#34Merged
Comparing
equivalent-reduce-handling
(
207cec7
) with
main
(
68cd2fe
)
CodSpeed Performance Gauge
-14%
Improvement
1
Regression
1
Untouched
356

Benchmarks

358 total
test_combined_cases[copium-all_reflexive]
tests/test_performance.py
CodSpeed Performance Gauge
+50%
33.3 µs22.2 µs
test_individual_cases[copium-cpython:91610:repeating_atomic]
tests/test_performance.py
CodSpeed Performance Gauge
-14%
22.9 µs26.6 µs
test_combined_cases[copium-3.14-x86_64-all_reflexive]
tests/test_performance.py
CodSpeed Performance Gauge
+2%
23.7 µs23.2 µs
test_individual_cases[copium-stdlib:traceback_exception]
tests/test_performance.py
CodSpeed Performance Gauge
+2%
54.5 µs53.3 µs
test_individual_cases[copium-cpython:91610:repeating]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
39.2 µs38.6 µs
test_combined_cases[copium-all]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
4.8 ms4.8 ms
test_combined_cases[copium-all_proto]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
592.9 µs585.5 µs
test_individual_cases[copium-cpython:91610:dict]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
23.5 µs23.2 µs
test_individual_cases[copium-stdlib:Point(1, 2, {'k': [3, 4]})]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
39.2 µs38.8 µs
test_individual_cases[copium-proto:slots_class]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
36 µs35.7 µs
test_individual_cases[stdlib-numeric:Fraction(355, 113)]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
18.6 µs18.4 µs
test_individual_cases[copium-cpython:91610:small_tuple]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
17.8 µs17.6 µs
test_individual_cases[copium-3.14-x86_64-stdlib:Point(1, 2, {'k': [3, 4]})]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
39.3 µs38.9 µs
test_individual_cases[copium-time:date:2025-08-30]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
26.1 µs25.8 µs
test_individual_cases[stdlib-3.14-x86_64-reflexive:self_list]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
12 µs11.9 µs
test_individual_cases[stdlib-large:deep_graph_d6_leaf64]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
680.7 µs674.8 µs
test_individual_cases[copium-stdlib:dict(nested)]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
23.4 µs23.2 µs
test_individual_cases[copium-numeric:Decimal('3.1415926535')]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
9.7 µs9.7 µs
test_individual_cases[copium-numeric:array('i', [1, 2, 3, 4])]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
20.4 µs20.3 µs
test_combined_cases[copium-all_empty]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
17.5 µs17.4 µs
test_individual_cases[copium-3.14-x86_64-numeric:Decimal('3.1415926535')]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
10.4 µs10.4 µs
test_individual_cases[copium-proto:__reduce__]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
34.8 µs34.5 µs
test_individual_cases[copium-stdlib:dict(id=7, name='Alice')]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
19.1 µs19 µs
test_individual_cases[stdlib-3.14-x86_64-container:frozenset((1, 2, 3))]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
63.6 µs63.1 µs
test_individual_cases[stdlib-3.14-x86_64-numeric:list((0.0, -0.0, inf, -inf, nan))]
tests/test_performance.py
CodSpeed Performance Gauge
+1%
31.8 µs31.6 µs

Commits

Click on a commit to change the comparison range
Base
main
68cd2fe
-0.37%
Make copium with dict memo semantically equivalent to stdlib
1ac98dc
11 days ago
by Bobronium
+50.1%
Expect different error for Python < 3.14
92b2699
10 days ago
by Bobronium
-63.71%
Update datamodelzoo
207cec7
10 days ago
by Bobronium
© 2026 CodSpeed Technology
Home Terms Privacy Docs