Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

typing for unit __mul__

#2243Merged
Comparing
andrewgsavage:mypy
(
53d3b2f
) with
master
(
ea41cb7
)
CodSpeed Performance Gauge
0%
Untouched
448

Benchmarks

448 total
test_op2[truediv-keys30]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
144.8 µs138.1 µs
test_wrapper[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
128 µs124.4 µs
test_op2[eq-keys27]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
147.2 µs143.1 µs
test_op2[add-keys15]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
234 µs227.6 µs
test_op2[mul-keys8]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
135.4 µs131.9 µs
test_op2[sub-keys24]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
125.5 µs122.3 µs
test_op2[eq-keys3]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+3%
147.7 µs144 µs
test_op2[equal-keys5]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+3%
314.3 µs306.6 µs
test_op2[sub-keys14]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
126.7 µs123.6 µs
test_parse_units[True-minute]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+2%
59.9 µs58.5 µs
test_op2[truediv-keys35]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
134.9 µs131.8 µs
test_op2[mul-keys32]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
134.7 µs131.6 µs
test_getattr[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+2%
80.7 µs78.9 µs
test_op2[sub-keys12]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
125.4 µs122.8 µs
test_op2[mul-keys22]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
133.7 µs131.1 µs
test_op2[mul-keys3]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+2%
146.7 µs143.9 µs
test_op2[add-keys20]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
233 µs228.6 µs
test_op2[mul-keys33]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
132.8 µs130.5 µs
test_op2[truediv-keys22]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
137.7 µs135.3 µs
test_op2[subtract-keys2]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+2%
325.8 µs320.2 µs
test_op2[add1-keys4]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+2%
266 µs261.6 µs
test_wrapper[complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
127 µs125 µs
test_op2[truediv-keys2]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+2%
150.5 µs148.2 µs
test_op2[add0-keys2]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+2%
262.8 µs258.7 µs
test_op2[truediv-keys1]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+2%
140 µs137.9 µs

Commits

Click on a commit to change the comparison range
Base
master
ea41cb7
-0.13%
add unit testing
ecc9501
3 months ago
by andrewgsavage
-0.25%
add rmul test
4565a2c
3 months ago
by andrewgsavage
-0.13%
rmul
bda7954
3 months ago
by andrewgsavage
+0.14%
docs
0712744
3 months ago
by andrewgsavage
-0.06%
finalise
f103416
3 months ago
by andrewgsavage
+0.02%
docs
96fc9d3
3 months ago
by andrewgsavage
+0.17%
changes
53d3b2f
3 months ago
by andrewgsavage
© 2026 CodSpeed Technology
Home Terms Privacy Docs