hgrecco
pint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Avoid looping on large numpy arrays
#1987
Merged
Comparing
andrewgsavage:nparr
(
d6a7697
) with
master
(
24dd237
)
CodSpeed Performance Gauge
×10
Improvement
1
Untouched
436
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
437 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_by_mul[mid_array]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
×10
3,065.8 µs
301.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_by_mul[short_array]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+13%
326.3 µs
288.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_empty_registry
pint/testsuite/benchmarks/test_01_registry_creation.py
CodSpeed Performance Gauge
+11%
705 µs
634 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op1[truth-int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+10%
39.1 µs
35.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_parse_units[True-minute]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+6%
55.2 µs
52.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[add-keys16]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
122 µs
115.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_wrapper_ret[complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
156.5 µs
149.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[truediv-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
147.3 µs
141.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_base_units[meter]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+4%
85.4 µs
82.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[sub-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
122.1 µs
118.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys20]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
134.2 µs
129.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_wrapper_ret[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
151.9 µs
147.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[sub-keys2]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
118.3 µs
114.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[mul-keys30]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
138.9 µs
134.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[add-keys23]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
119.5 µs
116.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[add-keys21]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
119 µs
115.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[add0-keys3]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+3%
133.8 µs
130.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[sub-keys21]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
117 µs
113.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[mul-keys29]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
133.6 µs
130.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[mul-keys35]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
134.6 µs
131.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[truediv-keys6]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
140.7 µs
137.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[add-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
118.5 µs
115.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[sub-keys7]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+3%
143.5 µs
139.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[mul-keys22]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
136.6 µs
133.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[mul-keys28]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
136.4 µs
133 µs
1
2
...
18
Commits
Click on a commit to change the comparison range
Base
master
24dd237
×10
Avoid looping on large numpy arrays
55d86cf
2 years ago
by andrewgsavage
+2.62%
Avoid looping on large numpy arrays
d6a7697
2 years ago
by andrewgsavage
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs