BobTheBuidler
dictstruct
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: avoid list allocation in __len__
#91
Comparing
pr86-len-sum
(
f43a985
) with
master
(
7e2c4dc
)
CodSpeed Performance Gauge
-18%
Regression
3
Untouched
30
No successful run was found on
master
(
911442d
) during the generation of this report, so
7e2c4dc
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
33 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_len[small]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
-18%
305.5 ms
373.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_len
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
-14%
476.4 ms
554.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_len[large]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
-14%
575.9 ms
669.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_values
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
+1%
1.3 s
1.2 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_getitem
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
+1%
176.3 ms
174.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get[hit]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
+1%
173.9 ms
172.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_attribute_access[list]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
+1%
284 ms
282.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_attribute_access[int]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
155.9 ms
155.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_contains[hit]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
260.9 ms
259.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_items
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
1.3 s
1.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_iter
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
449.4 ms
448.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_values[small]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
327.6 ms
327.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_contains[miss]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
121.9 ms
121.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_values[large]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
569.9 ms
569.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_items[large]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
633.6 ms
633.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setitem
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
46.5 ms
46.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_decode
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
23.4 ms
23.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_contains[hit]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
129.9 ms
129.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_items[small]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
346.6 ms
346.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_getitem
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
80.4 ms
80.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get[hit]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
79.5 ms
79.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bool
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
33.5 ms
33.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_decode
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
26.7 ms
26.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get[miss]
benchmarks/test_dictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
222.1 ms
222.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_attribute_access[str]
benchmarks/test_lazydictstruct_benchmarks.py
CodSpeed Performance Gauge
0%
162.1 ms
162.2 ms
1
2
Commits
Click on a commit to change the comparison range
Base
master
7e2c4dc
-14.13%
Avoid list allocation in __len__
a0da7c7
27 days ago
by BobTheBuidler
-3.99%
Merge branch 'master' into pr86-len-sum
d58ba33
27 days ago
by BobTheBuidler
0%
Merge branch 'master' into pr86-len-sum
f43a985
27 days ago
by BobTheBuidler
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs