Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

to_compact: support uncertainties' Magnitudes , keeping warning

#1911Merged
Comparing
andrewgsavage:ndarray_strip
(
188c87e
) with
master
(
29a139f
)
CodSpeed Performance Gauge
+1%
Untouched
439

Benchmarks

439 total
test_create_empty_registry
pint/testsuite/benchmarks/test_01_registry_creation.py
CodSpeed Performance Gauge
+18%
769.5 µs650.5 µs
test_op2[truediv-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+8%
129 µs119.7 µs
test_op2[mul-keys15]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
121.3 µs113.6 µs
test_op2[add-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
172.5 µs161.7 µs
test_op2[truediv-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+7%
131.7 µs123.4 µs
test_op2[truediv-keys10]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
128.3 µs120.6 µs
test_op2[truediv-keys25]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
128.6 µs121 µs
test_op2[add-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
169.5 µs159.6 µs
test_op2[truediv-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
126.6 µs119.6 µs
test_build_by_mul[complex]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
142.6 µs135.2 µs
test_op2[sub-keys31]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
168.8 µs160.3 µs
test_op2[truediv-keys4]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
128.4 µs122 µs
test_op2[truediv-keys0]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
127.7 µs121.4 µs
test_op2[eq-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
70.3 µs66.9 µs
test_op2[truediv-keys1]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
128.7 µs122.6 µs
test_op1[truth-complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
40.3 µs38.4 µs
test_op2[eq-keys2]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
70.4 µs67.2 µs
test_op2[sub-keys7]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
163.3 µs155.9 µs
test_op2[truediv-keys6]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
129.7 µs124 µs
test_op2[truediv-keys8]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
126.9 µs121.5 µs
test_op2[sub-keys9]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
160.9 µs154 µs
test_op2[eq-keys11]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
70.4 µs67.4 µs
test_op2[eq-keys26]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
69.1 µs66.2 µs
test_op2[add-keys35]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
162.6 µs155.9 µs
test_op1[truth-float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+4%
41.4 µs39.7 µs

Commits

Click on a commit to change the comparison range
Base
master
29a139f
-2.63%
check magnitude is array
d331aaf
2 years ago
by andrewgsavage
+1.01%
numpy check
526fc05
2 years ago
by andrewgsavage
+2.15%
allow uncertainties in to_compact
188c87e
2 years ago
by andrewgsavage
© 2026 CodSpeed Technology
Home Terms Privacy Docs