hgrecco
pint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
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_op2[eq-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-11%
57.5 µs
64.6 µ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_op2[sub-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-6%
115.4 µs
123.4 µ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[eq-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.8 µs
61.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_op2[eq-keys33]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.8 µs
61.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys21]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.1 µs
60.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
58 µs
61.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys2]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.2 µs
60.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys28]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
58 µs
61.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys14]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
56.8 µs
59.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[truediv-keys26]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
135.4 µs
142.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys26]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.3 µs
60.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys19]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.2 µs
60.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys0]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
59.4 µs
62.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys12]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
58.2 µs
61.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys16]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
58.5 µs
61.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57 µs
59.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
56.2 µs
59.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys23]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
58.5 µs
61.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_op2[eq-keys4]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
-5%
57.7 µs
60.6 µs
1
2
3
4
5
...
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