Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

Avoid numpy scalar deprecation warnings in __setitem__

#1880Merged
Comparing
dopplershift:avoid-warning
(
5bc72ee
) with
master
(
fc1aeba
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
439
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_create_empty_registry
pint/testsuite/benchmarks/test_01_registry_creation.py::test_create_empty_registry
CodSpeed Performance Gauge
+8%
745.8 µs
692.4 µs
test_op2[mul-keys4]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys4]
CodSpeed Performance Gauge
+6%
118 µs
111.4 µs
test_build_by_mul[complex]
pint/testsuite/benchmarks/test_20_quantity.py::test_build_by_mul[complex]
CodSpeed Performance Gauge
+6%
142.7 µs
135 µs
test_op1[truth-complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-complex_meter]
CodSpeed Performance Gauge
+5%
39.8 µs
37.7 µs
test_wrapper_nonstrict[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[int_kilometer]
CodSpeed Performance Gauge
+5%
74.6 µs
70.8 µs
test_wrapper_nonstrict[float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[float_kilometer]
CodSpeed Performance Gauge
+5%
68.8 µs
65.5 µs
test_wrapper_nonstrict[complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[complex_kilometer]
CodSpeed Performance Gauge
+5%
69 µs
65.7 µs
test_build_by_mul[float]
pint/testsuite/benchmarks/test_20_quantity.py::test_build_by_mul[float]
CodSpeed Performance Gauge
+5%
71.2 µs
67.9 µs
test_wrapper_nonstrict[complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[complex_meter]
CodSpeed Performance Gauge
+4%
68.4 µs
65.6 µs
test_op2[mul-keys15]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys15]
CodSpeed Performance Gauge
+4%
120.1 µs
115.2 µs
test_op2[eq-keys26]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys26]
CodSpeed Performance Gauge
+4%
68.2 µs
65.4 µs
test_op2[divide-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys1]
CodSpeed Performance Gauge
+4%
199.2 µs
191.3 µs
test_op2[eq-keys28]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys28]
CodSpeed Performance Gauge
+4%
66 µs
63.5 µs
test_op2[mul-keys22]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys22]
CodSpeed Performance Gauge
+4%
118.9 µs
114.3 µs
test_op2[sub-keys0]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys0]
CodSpeed Performance Gauge
+4%
126.9 µs
122.1 µs
test_op2[mul-keys23]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys23]
CodSpeed Performance Gauge
+4%
116.2 µs
111.9 µs
test_op2[mul-keys20]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys20]
CodSpeed Performance Gauge
+4%
118.4 µs
114.3 µs
test_op2[truediv-keys10]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys10]
CodSpeed Performance Gauge
+4%
126.3 µs
122 µs
test_op2[mul-keys16]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys16]
CodSpeed Performance Gauge
+3%
117.5 µs
113.7 µs
test_op1[neg-float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-float_kilometer]
CodSpeed Performance Gauge
+3%
66.2 µs
64.1 µs
test_op2[truediv-keys28]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys28]
CodSpeed Performance Gauge
+3%
124.3 µs
120.4 µs
test_op2[mul-keys28]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys28]
CodSpeed Performance Gauge
+3%
114.1 µs
110.5 µs
test_op2[mul-keys7]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys7]
CodSpeed Performance Gauge
+3%
117 µs
113.4 µs
test_op2[mul-keys14]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys14]
CodSpeed Performance Gauge
+3%
115.7 µs
112.3 µs
test_op2[add-keys26]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys26]
CodSpeed Performance Gauge
+3%
140.6 µs
136.5 µs
test_op2[mul-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys3]
CodSpeed Performance Gauge
+3%
137.8 µs
133.8 µs
test_op2[truediv-keys9]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys9]
CodSpeed Performance Gauge
+3%
122.5 µs
119.1 µs
test_op2[truediv-keys3]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys3]
CodSpeed Performance Gauge
+3%
125 µs
121.6 µs
test_op2[mul-keys10]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys10]
CodSpeed Performance Gauge
+3%
120.7 µs
117.6 µs
test_op2[mul-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys5]
CodSpeed Performance Gauge
+3%
199.7 µs
194.6 µs
test_op2[truediv-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys1]
CodSpeed Performance Gauge
+3%
139.9 µs
136.4 µs
test_op2[mul-keys24]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys24]
CodSpeed Performance Gauge
+3%
114 µs
111.1 µs
test_op2[mul-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys7]
CodSpeed Performance Gauge
+2%
195.8 µs
191.1 µs
test_op2[add-keys16]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys16]
CodSpeed Performance Gauge
+2%
138.5 µs
135.3 µs
test_op2[mul-keys3]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys3]
CodSpeed Performance Gauge
+2%
114.5 µs
111.8 µs
test_op2[mul-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys1]
CodSpeed Performance Gauge
+2%
137.2 µs
134 µs
test_wrapper_ret[int_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[int_meter]
CodSpeed Performance Gauge
+2%
226.4 µs
221.3 µs
test_op2[mul-keys18]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys18]
CodSpeed Performance Gauge
+2%
114.6 µs
112.1 µs
test_op2[truediv-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys7]
CodSpeed Performance Gauge
+2%
198 µs
193.7 µs
test_op2[truediv-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys3]
CodSpeed Performance Gauge
+2%
138.5 µs
135.5 µs
test_op1[neg-short_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[neg-short_array_meter]
CodSpeed Performance Gauge
+2%
86.7 µs
84.9 µs
test_op2[truediv-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys0]
CodSpeed Performance Gauge
+2%
140 µs
137.1 µs
test_op2[truediv-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys4]
CodSpeed Performance Gauge
+2%
195.8 µs
191.8 µs
test_op2[mul-keys2]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys2]
CodSpeed Performance Gauge
+2%
116.5 µs
114.2 µs
test_op2[truediv-keys12]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys12]
CodSpeed Performance Gauge
+2%
124.5 µs
122.1 µs
test_op2[truediv-keys34]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys34]
CodSpeed Performance Gauge
+2%
123.2 µs
120.9 µs
test_op2[truediv-keys8]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys8]
CodSpeed Performance Gauge
+2%
125.5 µs
123.1 µs
test_op2[mul-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys4]
CodSpeed Performance Gauge
+2%
194.7 µs
191.1 µs
test_op2[mul-keys35]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys35]
CodSpeed Performance Gauge
+2%
114.4 µs
112.5 µs
test_build_by_mul[short_array]
pint/testsuite/benchmarks/test_30_numpy.py::test_build_by_mul[short_array]
CodSpeed Performance Gauge
+2%
253.9 µs
249.8 µs
test_op2[truediv-keys0]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys0]
CodSpeed Performance Gauge
+2%
124.8 µs
122.9 µs
test_op1[neg-float_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-float_meter]
CodSpeed Performance Gauge
+2%
65.1 µs
64.1 µs
test_op2[add0-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys0]
CodSpeed Performance Gauge
+1%
146.2 µs
144.1 µs
test_op2[sub-keys16]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys16]
CodSpeed Performance Gauge
+1%
137.1 µs
135.2 µs
test_parse_units[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-kilometer]
CodSpeed Performance Gauge
+1%
47.2 µs
46.6 µs
test_op2[sub-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys3]
CodSpeed Performance Gauge
+1%
179.1 µs
176.9 µs
test_op2[truediv-keys35]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys35]
CodSpeed Performance Gauge
+1%
119.1 µs
117.6 µs
test_wrapper[complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[complex_meter]
CodSpeed Performance Gauge
+1%
199.7 µs
197.4 µs
test_op2[mul-keys29]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys29]
CodSpeed Performance Gauge
+1%
115.5 µs
114.3 µs
test_op1[neg-complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-complex_meter]
CodSpeed Performance Gauge
+1%
68.3 µs
67.5 µs
test_op2[mul-keys11]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys11]
CodSpeed Performance Gauge
+1%
114.2 µs
113 µs
test_op2[truediv-keys5]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys5]
CodSpeed Performance Gauge
+1%
123.1 µs
121.8 µs
test_op1[sqrt-mid_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[sqrt-mid_array_kilometer]
CodSpeed Performance Gauge
+1%
213.1 µs
211 µs
test_op1[square-mid_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[square-mid_array_kilometer]
CodSpeed Performance Gauge
+1%
213.2 µs
211.1 µs
test_op2[lt-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys4]
CodSpeed Performance Gauge
+1%
78.2 µs
77.4 µs
test_op2[mul-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys2]
CodSpeed Performance Gauge
+1%
137.1 µs
135.7 µs
test_wrapper_nonstrict[int_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[int_meter]
CodSpeed Performance Gauge
+1%
71.6 µs
71 µs
test_op2[add-keys14]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys14]
CodSpeed Performance Gauge
+1%
127 µs
125.8 µs
test_load_definitions_stage_1[True]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_1[True]
CodSpeed Performance Gauge
+1%
515.8 µs
511.1 µs
test_op2[truediv-keys7]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys7]
CodSpeed Performance Gauge
+1%
127.6 µs
126.5 µs
test_op2[sub-keys26]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys26]
CodSpeed Performance Gauge
+1%
134.8 µs
133.7 µs
test_wrapper_nonstrict[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_nonstrict[float_meter]
CodSpeed Performance Gauge
+1%
69.7 µs
69.2 µs
test_op2[truediv-keys31]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys31]
CodSpeed Performance Gauge
+1%
122.9 µs
121.9 µs
test_op2[truediv-keys20]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys20]
CodSpeed Performance Gauge
+1%
121.1 µs
120.2 µs
test_parse_units[True-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-minute]
CodSpeed Performance Gauge
+1%
47.1 µs
46.8 µs
test_op2[truediv-keys13]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys13]
CodSpeed Performance Gauge
+1%
120.7 µs
119.8 µs
test_op2[mul-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys0]
CodSpeed Performance Gauge
+1%
139.1 µs
138.1 µs
test_load_definitions_stage_1[None]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_1[None]
CodSpeed Performance Gauge
+1%
484.6 µs
481.2 µs
test_op2[divide-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys6]
CodSpeed Performance Gauge
+1%
247.7 µs
246 µs
test_op2[mul-keys34]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys34]
CodSpeed Performance Gauge
+1%
113.1 µs
112.3 µs
test_op2[multiply-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys2]
CodSpeed Performance Gauge
+1%
200.1 µs
198.8 µs
test_op2[divide-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys2]
CodSpeed Performance Gauge
+1%
190.6 µs
189.3 µs
test_op2[truediv-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys6]
CodSpeed Performance Gauge
+1%
200.9 µs
199.6 µs
test_op1[square-short_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[square-short_array_kilometer]
CodSpeed Performance Gauge
+1%
152.6 µs
151.6 µs
test_op2[truediv-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys5]
CodSpeed Performance Gauge
+1%
200.5 µs
199.2 µs
test_op2[truediv-keys27]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys27]
CodSpeed Performance Gauge
+1%
119.4 µs
118.7 µs
test_parse_units[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-millisecond]
CodSpeed Performance Gauge
+1%
47.2 µs
46.9 µs
test_op2[divide-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys3]
CodSpeed Performance Gauge
+1%
190.4 µs
189.2 µs
test_base_units[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[True-meter]
CodSpeed Performance Gauge
+1%
70.5 µs
70 µs
test_op2[truediv-keys23]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys23]
CodSpeed Performance Gauge
+1%
120.9 µs
120.2 µs
test_base_units[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[True-angstrom]
CodSpeed Performance Gauge
+1%
70.3 µs
69.9 µs
test_op2[sub-keys28]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys28]
CodSpeed Performance Gauge
+1%
126.5 µs
125.8 µs
test_parse_units[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-meter]
CodSpeed Performance Gauge
+1%
47 µs
46.8 µs
test_getitem[True-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-minute]
CodSpeed Performance Gauge
+1%
415.2 µs
412.9 µs
test_op2[mul-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[mul-keys6]
CodSpeed Performance Gauge
+1%
198.1 µs
197 µs
test_to_units_container_detached[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[True-meter]
CodSpeed Performance Gauge
+1%
42.4 µs
42.2 µs
test_op2[mul-keys27]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys27]
CodSpeed Performance Gauge
+1%
118 µs
117.4 µs
test_op1[neg-int_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-int_meter]
CodSpeed Performance Gauge
+1%
64.9 µs
64.6 µs
test_parse_units[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-angstrom]
CodSpeed Performance Gauge
0%
47 µs
46.8 µs
test_op2[truediv-keys24]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys24]
CodSpeed Performance Gauge
0%
124.7 µs
124.1 µs
test_op2[truediv-keys32]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys32]
CodSpeed Performance Gauge
0%
121.8 µs
121.2 µs
test_to_units_container_detached[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[True-angstrom]
CodSpeed Performance Gauge
0%
42.7 µs
42.5 µs
test_op2[truediv-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[truediv-keys2]
CodSpeed Performance Gauge
0%
139.7 µs
139 µs
test_op2[sub-keys14]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys14]
CodSpeed Performance Gauge
0%
126.5 µs
125.9 µs
test_op2[mul-keys9]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys9]
CodSpeed Performance Gauge
0%
114 µs
113.5 µs
test_op2[mul-keys25]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys25]
CodSpeed Performance Gauge
0%
112.9 µs
112.4 µs
test_wrapper_ret[complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[complex_meter]
CodSpeed Performance Gauge
0%
221 µs
220.1 µs
test_getitem[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-kilometer]
CodSpeed Performance Gauge
0%
429.5 µs
427.7 µs
test_op2[sub-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys0]
CodSpeed Performance Gauge
0%
144.3 µs
143.7 µs
test_parse_units[True-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-second]
CodSpeed Performance Gauge
0%
47 µs
46.8 µs
test_op2[truediv-keys21]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys21]
CodSpeed Performance Gauge
0%
120.7 µs
120.3 µs
test_to_units_container_registry[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[True-angstrom]
CodSpeed Performance Gauge
0%
42.7 µs
42.6 µs
test_getattr[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-millisecond]
CodSpeed Performance Gauge
0%
71.8 µs
71.6 µs
test_getitem[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-angstrom]
CodSpeed Performance Gauge
0%
408.5 µs
407.2 µs
test_op2[sub-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys4]
CodSpeed Performance Gauge
0%
201.2 µs
200.6 µs
test_parse_expression[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-angstrom]
CodSpeed Performance Gauge
0%
403.5 µs
402.2 µs
test_finding_meter_getattr
pint/testsuite/benchmarks/test_30_numpy.py::test_finding_meter_getattr
CodSpeed Performance Gauge
0%
70.8 µs
70.6 µs
test_getattr[True-second]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-second]
CodSpeed Performance Gauge
0%
72.9 µs
72.7 µs
test_wrapper_ret[complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[complex_kilometer]
CodSpeed Performance Gauge
0%
249.4 µs
248.8 µs
test_base_units[True-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[True-angstrom/minute]
CodSpeed Performance Gauge
0%
68.3 µs
68.1 µs
test_load_definitions_stage_2[None]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_2[None]
CodSpeed Performance Gauge
0%
304.9 ms
304.1 ms
test_getattr[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-kilometer]
CodSpeed Performance Gauge
0%
71 µs
70.9 µs
test_wrapper[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[float_meter]
CodSpeed Performance Gauge
0%
198.3 µs
197.8 µs
test_load_definitions_stage_2[True]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_2[True]
CodSpeed Performance Gauge
0%
320.3 ms
319.6 ms
test_op2[add-keys28]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys28]
CodSpeed Performance Gauge
0%
128.2 µs
127.9 µs
test_op2[add-keys12]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys12]
CodSpeed Performance Gauge
0%
131.2 µs
131 µs
test_build_by_mul[mid_array]
pint/testsuite/benchmarks/test_30_numpy.py::test_build_by_mul[mid_array]
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_getattr[True-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-minute]
CodSpeed Performance Gauge
0%
71.7 µs
71.6 µs
test_parse_expression[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-meter]
CodSpeed Performance Gauge
0%
403.4 µs
402.8 µs
test_op2[divide-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys4]
CodSpeed Performance Gauge
0%
242.9 µs
242.5 µs
test_op1[neg-short_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[neg-short_array_kilometer]
CodSpeed Performance Gauge
0%
84.6 µs
84.5 µs
test_getattr[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-meter]
CodSpeed Performance Gauge
0%
75.1 µs
75 µs
test_base_units[True-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[True-kilometer/second]
CodSpeed Performance Gauge
0%
64.7 µs
64.6 µs
test_op2[add0-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys4]
CodSpeed Performance Gauge
0%
203.8 µs
203.6 µs
test_getattr[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-angstrom]
CodSpeed Performance Gauge
0%
70.9 µs
70.9 µs
test_op1[truth-int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-int_kilometer]
CodSpeed Performance Gauge
0%
38.3 µs
38.3 µs
test_op2[truediv-keys4]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys4]
CodSpeed Performance Gauge
0%
124.6 µs
124.5 µs
test_op1[truth-complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-complex_kilometer]
CodSpeed Performance Gauge
0%
38.2 µs
38.1 µs
test_getitem[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-meter]
CodSpeed Performance Gauge
0%
422.8 µs
422.5 µs
test_finding_meter_getitem
pint/testsuite/benchmarks/test_30_numpy.py::test_finding_meter_getitem
CodSpeed Performance Gauge
0%
402.9 µs
402.7 µs
test_op2[add-keys31]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys31]
CodSpeed Performance Gauge
0%
165 µs
165 µs
test_op2[eq-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys4]
CodSpeed Performance Gauge
0%
111.9 µs
111.8 µs
test_op2[divide-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys5]
CodSpeed Performance Gauge
0%
250.9 µs
250.8 µs
test_to_units_container_registry[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[True-meter]
CodSpeed Performance Gauge
0%
42.7 µs
42.7 µs
test_op2[eq-keys16]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys16]
CodSpeed Performance Gauge
0%
68.2 µs
68.1 µs
test_parse_expression[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-meter]
CodSpeed Performance Gauge
0%
410.1 µs
410 µs
test_parse_expression[False-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-millisecond]
CodSpeed Performance Gauge
0%
597.1 µs
597.1 µs
test_wrapper_ret[float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[float_kilometer]
CodSpeed Performance Gauge
0%
249.8 µs
249.8 µs
test_getitem[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-millisecond]
CodSpeed Performance Gauge
0%
410.6 µs
410.6 µs
test_op2[add-keys4]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys4]
CodSpeed Performance Gauge
0%
141.3 µs
141.3 µs
test_op2[divide-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys0]
CodSpeed Performance Gauge
0%
187.5 µs
187.6 µs
test_op2[lt-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys7]
CodSpeed Performance Gauge
0%
81.7 µs
81.7 µs
test_parse_math_expression
pint/testsuite/benchmarks/test_10_registry.py::test_parse_math_expression
CodSpeed Performance Gauge
0%
540.8 µs
541 µs
test_convert_from_uc[True-key0]
pint/testsuite/benchmarks/test_10_registry.py::test_convert_from_uc[True-key0]
CodSpeed Performance Gauge
0%
118.4 µs
118.5 µs
test_op1[neg-complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-complex_kilometer]
CodSpeed Performance Gauge
0%
68.4 µs
68.5 µs
test_parse_expression[False-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-second]
CodSpeed Performance Gauge
0%
412.1 µs
412.6 µs
test_convert_from_uc[True-key1]
pint/testsuite/benchmarks/test_10_registry.py::test_convert_from_uc[True-key1]
CodSpeed Performance Gauge
0%
130.3 µs
130.4 µs
test_op2[eq-keys31]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys31]
CodSpeed Performance Gauge
0%
67.4 µs
67.5 µs
test_op2[divide-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[divide-keys7]
CodSpeed Performance Gauge
0%
246.1 µs
246.5 µs
test_op2[add-keys1]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys1]
CodSpeed Performance Gauge
0%
310.3 µs
310.8 µs
test_getitem[False-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-minute]
CodSpeed Performance Gauge
0%
397.1 µs
397.7 µs
test_op2[truediv-keys30]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys30]
CodSpeed Performance Gauge
0%
125.7 µs
125.9 µs
test_op2[add-keys33]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys33]
CodSpeed Performance Gauge
0%
167.5 µs
167.8 µs
test_parse_expression[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-kilometer]
CodSpeed Performance Gauge
0%
408.1 µs
408.9 µs
test_op1[neg-mid_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[neg-mid_array_kilometer]
CodSpeed Performance Gauge
0%
141.5 µs
141.8 µs
test_wrapper[float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[float_kilometer]
CodSpeed Performance Gauge
0%
235.7 µs
236.2 µs
test_op2[eq-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys3]
CodSpeed Performance Gauge
0%
104.5 µs
104.7 µs
test_op1[sqrt-mid_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[sqrt-mid_array_meter]
CodSpeed Performance Gauge
0%
212.1 µs
212.6 µs
test_getitem[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-angstrom]
CodSpeed Performance Gauge
0%
392.8 µs
393.9 µs
test_op2[truediv-keys16]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys16]
CodSpeed Performance Gauge
0%
117 µs
117.4 µs
test_op2[eq-keys9]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys9]
CodSpeed Performance Gauge
0%
67.7 µs
67.9 µs
test_parse_expression[True-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-second]
CodSpeed Performance Gauge
0%
403.8 µs
405 µs
test_op2[multiply-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys3]
CodSpeed Performance Gauge
0%
197.2 µs
197.8 µs
test_parse_expression[False-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-ms]
CodSpeed Performance Gauge
0%
580.3 µs
582.1 µs
test_op2[truediv-keys17]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys17]
CodSpeed Performance Gauge
0%
118.6 µs
118.9 µs
test_getitem[False-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-millisecond]
CodSpeed Performance Gauge
0%
587.2 µs
589.1 µs
test_getitem[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-meter]
CodSpeed Performance Gauge
0%
397.3 µs
398.6 µs
test_op2[eq-keys0]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys0]
CodSpeed Performance Gauge
0%
70.7 µs
70.9 µs
test_build_by_mul[int]
pint/testsuite/benchmarks/test_20_quantity.py::test_build_by_mul[int]
CodSpeed Performance Gauge
0%
70.9 µs
71.1 µs
test_op2[eq-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys0]
CodSpeed Performance Gauge
0%
127.1 µs
127.5 µs
test_wrapper[complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[complex_kilometer]
CodSpeed Performance Gauge
0%
222.1 µs
223 µs
test_op2[multiply-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys6]
CodSpeed Performance Gauge
0%
258.6 µs
259.7 µs
test_op2[mul-keys6]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys6]
CodSpeed Performance Gauge
0%
115 µs
115.5 µs
test_op2[multiply-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys7]
CodSpeed Performance Gauge
0%
254.6 µs
255.7 µs
test_op2[eq-keys12]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys12]
CodSpeed Performance Gauge
0%
67.7 µs
68 µs
test_op2[eq-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys7]
CodSpeed Performance Gauge
0%
113.2 µs
113.7 µs
test_op2[multiply-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys4]
CodSpeed Performance Gauge
0%
253.9 µs
255 µs
test_wrapper[int_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[int_meter]
CodSpeed Performance Gauge
0%
203.9 µs
204.9 µs
test_op2[eq-keys2]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys2]
CodSpeed Performance Gauge
0%
70 µs
70.4 µs
test_getitem[False-second]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-second]
CodSpeed Performance Gauge
0%
399.2 µs
401.1 µs
test_parse_expression[True-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-ms]
CodSpeed Performance Gauge
-1%
560.8 µs
563.7 µs
test_create_tiny_registry
pint/testsuite/benchmarks/test_01_registry_creation.py::test_create_tiny_registry
CodSpeed Performance Gauge
-1%
12.4 ms
12.4 ms
test_op2[add-keys13]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys13]
CodSpeed Performance Gauge
-1%
298.7 µs
300.3 µs
test_op2[subtract-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys4]
CodSpeed Performance Gauge
-1%
271 µs
272.5 µs
test_getitem[True-second]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-second]
CodSpeed Performance Gauge
-1%
403.3 µs
405.4 µs
test_op2[eq-keys23]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys23]
CodSpeed Performance Gauge
-1%
68.3 µs
68.7 µs
test_base_units[angstrom]
pint/testsuite/benchmarks/test_30_numpy.py::test_base_units[angstrom]
CodSpeed Performance Gauge
-1%
303.9 µs
305.6 µs
test_op2[mul-keys21]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys21]
CodSpeed Performance Gauge
-1%
111.9 µs
112.5 µs
test_getitem[False-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-ms]
CodSpeed Performance Gauge
-1%
567.4 µs
570.6 µs
test_op2[mul-keys1]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys1]
CodSpeed Performance Gauge
-1%
115.6 µs
116.4 µs
test_wrapper_ret[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[int_kilometer]
CodSpeed Performance Gauge
-1%
249.2 µs
250.7 µs
test_parse_expression[False-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-minute]
CodSpeed Performance Gauge
-1%
409.5 µs
412 µs
test_op2[sub-keys27]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys27]
CodSpeed Performance Gauge
-1%
294.7 µs
296.6 µs
test_parse_expression[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-angstrom]
CodSpeed Performance Gauge
-1%
413.2 µs
415.9 µs
test_op2[eq-keys33]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys33]
CodSpeed Performance Gauge
-1%
68.9 µs
69.4 µs
test_getitem[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[False-kilometer]
CodSpeed Performance Gauge
-1%
580.5 µs
584.3 µs
test_op1[sqrt-short_array_kilometer]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[sqrt-short_array_kilometer]
CodSpeed Performance Gauge
-1%
153.6 µs
154.6 µs
test_wrapper[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper[int_kilometer]
CodSpeed Performance Gauge
-1%
224.9 µs
226.4 µs
test_op2[sub-keys22]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys22]
CodSpeed Performance Gauge
-1%
295.3 µs
297.2 µs
test_op2[truediv-keys11]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys11]
CodSpeed Performance Gauge
-1%
123.8 µs
124.6 µs
test_op2[equal-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys3]
CodSpeed Performance Gauge
-1%
187.1 µs
188.4 µs
test_op2[multiply-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys1]
CodSpeed Performance Gauge
-1%
197.7 µs
199.1 µs
test_op2[truediv-keys33]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys33]
CodSpeed Performance Gauge
-1%
117.9 µs
118.7 µs
test_op2[subtract-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys1]
CodSpeed Performance Gauge
-1%
361.4 µs
364 µs
test_parse_expression[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[False-kilometer]
CodSpeed Performance Gauge
-1%
587.3 µs
591.7 µs
test_op2[add-keys9]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys9]
CodSpeed Performance Gauge
-1%
164 µs
165.2 µs
test_parse_units[False-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-ms]
CodSpeed Performance Gauge
-1%
275.9 µs
277.9 µs
test_op1[truth-float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-float_kilometer]
CodSpeed Performance Gauge
-1%
38.8 µs
39.1 µs
test_wrapper_ret[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_wrapper_ret[float_meter]
CodSpeed Performance Gauge
-1%
219.5 µs
221.2 µs
test_op2[add-keys10]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys10]
CodSpeed Performance Gauge
-1%
299.9 µs
302.2 µs
test_op2[subtract-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys7]
CodSpeed Performance Gauge
-1%
272.3 µs
274.4 µs
test_op2[sub-keys34]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys34]
CodSpeed Performance Gauge
-1%
295.8 µs
298.1 µs
test_op2[multiply-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys5]
CodSpeed Performance Gauge
-1%
256 µs
257.9 µs
test_op2[truediv-keys2]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys2]
CodSpeed Performance Gauge
-1%
120.3 µs
121.3 µs
test_op1[neg-mid_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[neg-mid_array_meter]
CodSpeed Performance Gauge
-1%
142.7 µs
143.9 µs
test_parse_expression[True-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-minute]
CodSpeed Performance Gauge
-1%
409.8 µs
413.1 µs
test_op2[eq-keys7]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys7]
CodSpeed Performance Gauge
-1%
70.7 µs
71.2 µs
test_parse_expression[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_expression[True-millisecond]
CodSpeed Performance Gauge
-1%
415 µs
418.4 µs
test_op2[add-keys2]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys2]
CodSpeed Performance Gauge
-1%
139.4 µs
140.6 µs
test_op2[equal-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys0]
CodSpeed Performance Gauge
-1%
186.1 µs
187.7 µs
test_op2[eq-keys19]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys19]
CodSpeed Performance Gauge
-1%
66.1 µs
66.7 µs
test_op2[lt-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys3]
CodSpeed Performance Gauge
-1%
72.5 µs
73.2 µs
test_op2[mul-keys19]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys19]
CodSpeed Performance Gauge
-1%
112 µs
113 µs
test_create_default_registry_use_cache
pint/testsuite/benchmarks/test_01_registry_creation.py::test_create_default_registry_use_cache
CodSpeed Performance Gauge
-1%
39.7 ms
40.1 ms
test_op2[mul-keys26]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys26]
CodSpeed Performance Gauge
-1%
114 µs
115.1 µs
test_op2[sub-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys1]
CodSpeed Performance Gauge
-1%
320.9 µs
323.9 µs
test_op2[add-keys0]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys0]
CodSpeed Performance Gauge
-1%
131.7 µs
133 µs
test_op2[sub-keys3]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys3]
CodSpeed Performance Gauge
-1%
294.3 µs
297.2 µs
test_base_units[meter/second]
pint/testsuite/benchmarks/test_30_numpy.py::test_base_units[meter/second]
CodSpeed Performance Gauge
-1%
395.5 µs
399.4 µs
test_op2[multiply-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[multiply-keys0]
CodSpeed Performance Gauge
-1%
197 µs
199 µs
test_op2[add-keys7]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys7]
CodSpeed Performance Gauge
-1%
165.5 µs
167.2 µs
test_op2[equal-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys7]
CodSpeed Performance Gauge
-1%
190.4 µs
192.3 µs
test_op2[less-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys0]
CodSpeed Performance Gauge
-1%
184.7 µs
186.7 µs
test_op2[sub-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys7]
CodSpeed Performance Gauge
-1%
236.3 µs
238.8 µs
test_op2[sub-keys19]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys19]
CodSpeed Performance Gauge
-1%
159.8 µs
161.5 µs
test_op2[add1-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys7]
CodSpeed Performance Gauge
-1%
273.7 µs
276.6 µs
test_build_cache
pint/testsuite/benchmarks/test_10_registry.py::test_build_cache
CodSpeed Performance Gauge
-1%
1.4 ms
1.4 ms
test_op2[eq-keys4]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys4]
CodSpeed Performance Gauge
-1%
70 µs
70.7 µs
test_op2[add0-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys7]
CodSpeed Performance Gauge
-1%
233.6 µs
236.4 µs
test_op2[add1-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys1]
CodSpeed Performance Gauge
-1%
360.6 µs
365 µs
test_op2[mul-keys0]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys0]
CodSpeed Performance Gauge
-1%
119.2 µs
120.7 µs
test_op2[subtract-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys5]
CodSpeed Performance Gauge
-1%
421.5 µs
427 µs
test_op2[eq-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys6]
CodSpeed Performance Gauge
-1%
333.3 µs
337.6 µs
test_op2[sub-keys2]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys2]
CodSpeed Performance Gauge
-1%
131.2 µs
132.9 µs
test_op2[truediv-keys15]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys15]
CodSpeed Performance Gauge
-1%
121.9 µs
123.4 µs
test_op2[less-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys5]
CodSpeed Performance Gauge
-1%
392.8 µs
397.9 µs
test_op2[subtract-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys6]
CodSpeed Performance Gauge
-1%
423.1 µs
428.7 µs
test_op2[sub-keys24]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys24]
CodSpeed Performance Gauge
-1%
135.7 µs
137.5 µs
test_op2[add-keys8]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys8]
CodSpeed Performance Gauge
-1%
298.6 µs
302.6 µs
test_op2[sub-keys1]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys1]
CodSpeed Performance Gauge
-1%
294.8 µs
298.8 µs
test_op2[add-keys30]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys30]
CodSpeed Performance Gauge
-1%
292.7 µs
296.7 µs
test_getitem[True-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_getitem[True-ms]
CodSpeed Performance Gauge
-1%
557.7 µs
565.5 µs
test_op2[add1-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys5]
CodSpeed Performance Gauge
-1%
421.6 µs
427.5 µs
test_op1[truth-int_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-int_meter]
CodSpeed Performance Gauge
-1%
37.7 µs
38.2 µs
test_op2[eq-keys1]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys1]
CodSpeed Performance Gauge
-1%
223.5 µs
226.7 µs
test_op2[less-keys7]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys7]
CodSpeed Performance Gauge
-1%
189.8 µs
192.6 µs
test_op2[sub-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys5]
CodSpeed Performance Gauge
-1%
383.3 µs
389 µs
test_op1[square-mid_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[square-mid_array_meter]
CodSpeed Performance Gauge
-1%
205.5 µs
208.5 µs
test_op2[subtract-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys3]
CodSpeed Performance Gauge
-1%
212.2 µs
215.3 µs
test_op2[sub-keys32]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys32]
CodSpeed Performance Gauge
-1%
293.6 µs
297.9 µs
test_op2[add1-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys3]
CodSpeed Performance Gauge
-1%
213.1 µs
216.3 µs
test_op2[sub-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys2]
CodSpeed Performance Gauge
-2%
321 µs
326 µs
test_op2[add-keys20]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys20]
CodSpeed Performance Gauge
-2%
294.7 µs
299.2 µs
test_op2[add0-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys3]
CodSpeed Performance Gauge
-2%
174.3 µs
177 µs
test_op2[add0-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys5]
CodSpeed Performance Gauge
-2%
386.7 µs
392.8 µs
test_op2[add-keys11]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys11]
CodSpeed Performance Gauge
-2%
167 µs
169.6 µs
test_op2[add-keys17]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys17]
CodSpeed Performance Gauge
-2%
299 µs
303.7 µs
test_op1[sqrt-short_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[sqrt-short_array_meter]
CodSpeed Performance Gauge
-2%
157.4 µs
159.9 µs
test_op2[add-keys24]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys24]
CodSpeed Performance Gauge
-2%
134.9 µs
137 µs
test_op2[subtract-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys0]
CodSpeed Performance Gauge
-2%
214.3 µs
217.8 µs
test_op2[equal-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys6]
CodSpeed Performance Gauge
-2%
393.4 µs
399.8 µs
test_op2[lt-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys0]
CodSpeed Performance Gauge
-2%
77.8 µs
79.1 µs
test_base_units[angstrom/minute]
pint/testsuite/benchmarks/test_30_numpy.py::test_base_units[angstrom/minute]
CodSpeed Performance Gauge
-2%
413.5 µs
420.2 µs
test_op2[less-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys2]
CodSpeed Performance Gauge
-2%
332.9 µs
338.3 µs
test_op2[equal-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys5]
CodSpeed Performance Gauge
-2%
392.1 µs
398.5 µs
test_op2[add0-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys1]
CodSpeed Performance Gauge
-2%
325.4 µs
330.8 µs
test_op2[add-keys15]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys15]
CodSpeed Performance Gauge
-2%
297.3 µs
302.3 µs
test_op2[eq-keys11]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys11]
CodSpeed Performance Gauge
-2%
67.7 µs
68.9 µs
test_op2[truediv-keys6]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys6]
CodSpeed Performance Gauge
-2%
121.9 µs
124 µs
test_parse_unit_name[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-kilometer]
CodSpeed Performance Gauge
-2%
109.3 µs
111.1 µs
test_op2[sub-keys17]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys17]
CodSpeed Performance Gauge
-2%
294.7 µs
299.7 µs
test_op2[less-keys3]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys3]
CodSpeed Performance Gauge
-2%
184.4 µs
187.5 µs
test_op1[square-short_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_op1[square-short_array_meter]
CodSpeed Performance Gauge
-2%
156.4 µs
159.1 µs
test_op2[eq-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys5]
CodSpeed Performance Gauge
-2%
331.2 µs
336.9 µs
test_op2[sub-keys4]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys4]
CodSpeed Performance Gauge
-2%
132.8 µs
135.1 µs
test_op2[sub-keys6]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys6]
CodSpeed Performance Gauge
-2%
293.2 µs
298.4 µs
test_op2[truediv-keys22]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys22]
CodSpeed Performance Gauge
-2%
120.7 µs
122.8 µs
test_op2[lt-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys6]
CodSpeed Performance Gauge
-2%
414 µs
421.3 µs
test_op2[eq-keys15]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys15]
CodSpeed Performance Gauge
-2%
222.7 µs
226.7 µs
test_op2[lt-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys2]
CodSpeed Performance Gauge
-2%
352.1 µs
358.4 µs
test_op2[add-keys29]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys29]
CodSpeed Performance Gauge
-2%
295.9 µs
301.3 µs
test_op2[add0-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys2]
CodSpeed Performance Gauge
-2%
318.4 µs
324.2 µs
test_parse_units[True-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[True-ms]
CodSpeed Performance Gauge
-2%
263.7 µs
268.5 µs
test_op2[sub-keys29]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys29]
CodSpeed Performance Gauge
-2%
295.9 µs
301.4 µs
test_op2[equal-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys4]
CodSpeed Performance Gauge
-2%
193.6 µs
197.2 µs
test_op2[add-keys3]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys3]
CodSpeed Performance Gauge
-2%
310.3 µs
316.2 µs
test_op2[add1-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys2]
CodSpeed Performance Gauge
-2%
358.6 µs
365.5 µs
test_op2[equal-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys1]
CodSpeed Performance Gauge
-2%
333.6 µs
340.1 µs
test_op2[mul-keys32]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys32]
CodSpeed Performance Gauge
-2%
116.1 µs
118.3 µs
test_op2[sub-keys23]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys23]
CodSpeed Performance Gauge
-2%
167 µs
170.3 µs
test_create_default_registry
pint/testsuite/benchmarks/test_01_registry_creation.py::test_create_default_registry
CodSpeed Performance Gauge
-2%
477 ms
486.5 ms
test_base_units[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[False-meter]
CodSpeed Performance Gauge
-2%
91.2 µs
93 µs
test_parse_unit_name[False-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-millisecond]
CodSpeed Performance Gauge
-2%
108.8 µs
111 µs
test_op2[subtract-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[subtract-keys2]
CodSpeed Performance Gauge
-2%
355 µs
362.1 µs
test_op2[add-keys6]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys6]
CodSpeed Performance Gauge
-2%
306.3 µs
312.5 µs
test_parse_unit_name[False-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-ms]
CodSpeed Performance Gauge
-2%
108.3 µs
110.5 µs
test_op2[sub-keys35]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys35]
CodSpeed Performance Gauge
-2%
159.8 µs
163 µs
test_getattr[False-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-millisecond]
CodSpeed Performance Gauge
-2%
293.1 µs
299.1 µs
test_op2[less-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys4]
CodSpeed Performance Gauge
-2%
189.7 µs
193.6 µs
test_op2[equal-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[equal-keys2]
CodSpeed Performance Gauge
-2%
331.1 µs
337.9 µs
test_op2[sub-keys20]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys20]
CodSpeed Performance Gauge
-2%
286.3 µs
292.3 µs
test_op2[add-keys5]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys5]
CodSpeed Performance Gauge
-2%
307.7 µs
314.1 µs
test_op2[sub-keys33]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys33]
CodSpeed Performance Gauge
-2%
163.8 µs
167.3 µs
test_op2[mul-keys13]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys13]
CodSpeed Performance Gauge
-2%
112.9 µs
115.3 µs
test_parse_unit_name[True-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-millisecond]
CodSpeed Performance Gauge
-2%
106 µs
108.3 µs
test_op2[mul-keys33]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys33]
CodSpeed Performance Gauge
-2%
112.6 µs
115 µs
test_op2[add0-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add0-keys6]
CodSpeed Performance Gauge
-2%
386.4 µs
394.8 µs
test_op1[truth-float_meter]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[truth-float_meter]
CodSpeed Performance Gauge
-2%
38.4 µs
39.3 µs
test_parse_unit_name[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-kilometer]
CodSpeed Performance Gauge
-2%
106.4 µs
108.7 µs
test_parse_units[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-kilometer]
CodSpeed Performance Gauge
-2%
272.5 µs
278.5 µs
test_op2[sub-keys13]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys13]
CodSpeed Performance Gauge
-2%
292.8 µs
299.2 µs
test_base_units[False-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[False-kilometer/second]
CodSpeed Performance Gauge
-2%
321.1 µs
328.2 µs
test_base_units[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[False-angstrom]
CodSpeed Performance Gauge
-2%
89.6 µs
91.5 µs
test_op2[add-keys18]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys18]
CodSpeed Performance Gauge
-2%
292.7 µs
299.3 µs
test_parse_unit_name[True-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-ms]
CodSpeed Performance Gauge
-2%
105.5 µs
108 µs
test_convert_from_uc[False-key0]
pint/testsuite/benchmarks/test_10_registry.py::test_convert_from_uc[False-key0]
CodSpeed Performance Gauge
-2%
183.7 µs
187.9 µs
test_op2[add1-keys4]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys4]
CodSpeed Performance Gauge
-2%
268.9 µs
275.1 µs
test_to_units_container_detached[False-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[False-kilometer/second]
CodSpeed Performance Gauge
-2%
272.9 µs
279.2 µs
test_op2[truediv-keys18]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys18]
CodSpeed Performance Gauge
-2%
121.1 µs
123.9 µs
test_op2[eq-keys27]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys27]
CodSpeed Performance Gauge
-2%
225.9 µs
231.1 µs
test_parse_unit_name[False-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-second]
CodSpeed Performance Gauge
-2%
96 µs
98.2 µs
test_getattr[False-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-ms]
CodSpeed Performance Gauge
-2%
292.8 µs
299.6 µs
test_op2[less-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys6]
CodSpeed Performance Gauge
-2%
393.3 µs
402.5 µs
test_op2[add1-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys6]
CodSpeed Performance Gauge
-2%
421.6 µs
431.5 µs
test_op2[sub-keys6]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[sub-keys6]
CodSpeed Performance Gauge
-2%
385.1 µs
394.2 µs
test_op2[eq-keys17]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys17]
CodSpeed Performance Gauge
-2%
224.5 µs
229.8 µs
test_op2[add-keys32]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys32]
CodSpeed Performance Gauge
-2%
294.9 µs
301.9 µs
test_op2[sub-keys15]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys15]
CodSpeed Performance Gauge
-2%
290.8 µs
297.7 µs
test_op2[eq-keys13]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys13]
CodSpeed Performance Gauge
-2%
224.1 µs
229.5 µs
test_op2[truediv-keys1]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys1]
CodSpeed Performance Gauge
-2%
121.1 µs
124.1 µs
test_op2[truediv-keys19]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys19]
CodSpeed Performance Gauge
-2%
120.1 µs
123 µs
test_op2[add-keys19]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys19]
CodSpeed Performance Gauge
-2%
162.6 µs
166.6 µs
test_to_units_container_registry[False-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[False-kilometer/second]
CodSpeed Performance Gauge
-2%
275.5 µs
282.2 µs
test_op2[less-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[less-keys1]
CodSpeed Performance Gauge
-2%
333.2 µs
341.4 µs
test_parse_unit_name[True-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-angstrom]
CodSpeed Performance Gauge
-2%
100 µs
102.5 µs
test_op2[eq-keys3]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys3]
CodSpeed Performance Gauge
-2%
225.8 µs
231.4 µs
test_op2[sub-keys12]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys12]
CodSpeed Performance Gauge
-2%
130.3 µs
133.6 µs
test_parse_unit_name[True-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-meter]
CodSpeed Performance Gauge
-2%
100.6 µs
103.1 µs
test_parse_unit_name[True-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-minute]
CodSpeed Performance Gauge
-2%
100 µs
102.5 µs
test_parse_unit_name[True-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[True-second]
CodSpeed Performance Gauge
-2%
95.8 µs
98.2 µs
test_op2[mul-keys31]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys31]
CodSpeed Performance Gauge
-3%
114.3 µs
117.3 µs
test_op2[mul-keys17]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys17]
CodSpeed Performance Gauge
-3%
115.5 µs
118.5 µs
test_op2[eq-keys5]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys5]
CodSpeed Performance Gauge
-3%
226.5 µs
232.4 µs
test_parse_unit_name[False-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-minute]
CodSpeed Performance Gauge
-3%
100 µs
102.6 µs
test_parse_unit_name[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-meter]
CodSpeed Performance Gauge
-3%
99.8 µs
102.4 µs
test_op2[truediv-keys25]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys25]
CodSpeed Performance Gauge
-3%
121 µs
124.2 µs
test_op2[eq-keys10]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys10]
CodSpeed Performance Gauge
-3%
223.5 µs
229.4 µs
test_op2[eq-keys29]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys29]
CodSpeed Performance Gauge
-3%
223.3 µs
229.3 µs
test_op2[eq-keys20]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys20]
CodSpeed Performance Gauge
-3%
223.3 µs
229.3 µs
test_op2[eq-keys25]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys25]
CodSpeed Performance Gauge
-3%
222.6 µs
228.7 µs
test_op2[sub-keys7]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys7]
CodSpeed Performance Gauge
-3%
161 µs
165.5 µs
test_parse_unit_name[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_unit_name[False-angstrom]
CodSpeed Performance Gauge
-3%
99.8 µs
102.5 µs
test_op2[add-keys25]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys25]
CodSpeed Performance Gauge
-3%
291.1 µs
299.3 µs
test_op2[eq-keys8]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys8]
CodSpeed Performance Gauge
-3%
225 µs
231.3 µs
test_op2[lt-keys5]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys5]
CodSpeed Performance Gauge
-3%
402.8 µs
414.1 µs
test_op2[add1-keys0]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[add1-keys0]
CodSpeed Performance Gauge
-3%
213.7 µs
219.8 µs
test_op2[lt-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[lt-keys1]
CodSpeed Performance Gauge
-3%
350.2 µs
360.2 µs
test_op2[eq-keys6]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys6]
CodSpeed Performance Gauge
-3%
223.5 µs
229.9 µs
test_op2[eq-keys24]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys24]
CodSpeed Performance Gauge
-3%
68.8 µs
70.8 µs
test_getattr[True-ms]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[True-ms]
CodSpeed Performance Gauge
-3%
282.5 µs
290.9 µs
test_op2[mul-keys8]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys8]
CodSpeed Performance Gauge
-3%
116.4 µs
119.8 µs
test_op2[sub-keys18]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys18]
CodSpeed Performance Gauge
-3%
291.5 µs
300.2 µs
test_op2[eq-keys22]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys22]
CodSpeed Performance Gauge
-3%
223.5 µs
230.2 µs
test_op2[eq-keys18]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys18]
CodSpeed Performance Gauge
-3%
222.8 µs
229.5 µs
test_op2[eq-keys2]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys2]
CodSpeed Performance Gauge
-3%
263.9 µs
272 µs
test_getattr[False-second]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-second]
CodSpeed Performance Gauge
-3%
104.5 µs
107.7 µs
test_op2[sub-keys5]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys5]
CodSpeed Performance Gauge
-3%
289.9 µs
299 µs
test_op2[sub-keys31]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys31]
CodSpeed Performance Gauge
-3%
163.6 µs
168.7 µs
test_op2[eq-keys30]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys30]
CodSpeed Performance Gauge
-3%
223 µs
230 µs
test_op2[add-keys23]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys23]
CodSpeed Performance Gauge
-3%
167.7 µs
173.1 µs
test_op2[sub-keys25]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys25]
CodSpeed Performance Gauge
-3%
288.4 µs
297.8 µs
test_op2[add-keys34]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys34]
CodSpeed Performance Gauge
-3%
290.9 µs
300.5 µs
test_op2[eq-keys34]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys34]
CodSpeed Performance Gauge
-3%
221.5 µs
228.8 µs
test_op2[sub-keys11]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys11]
CodSpeed Performance Gauge
-3%
166 µs
171.4 µs
test_op2[add-keys35]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys35]
CodSpeed Performance Gauge
-3%
159.9 µs
165.2 µs
test_op2[add-keys22]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys22]
CodSpeed Performance Gauge
-3%
294.9 µs
304.8 µs
test_op2[eq-keys32]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys32]
CodSpeed Performance Gauge
-3%
222.4 µs
229.9 µs
test_op2[eq-keys1]
pint/testsuite/benchmarks/test_30_numpy.py::test_op2[eq-keys1]
CodSpeed Performance Gauge
-3%
262.5 µs
271.5 µs
test_op2[add-keys27]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys27]
CodSpeed Performance Gauge
-3%
289.2 µs
299.3 µs
test_getattr[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-kilometer]
CodSpeed Performance Gauge
-3%
288.2 µs
298.6 µs
test_op2[mul-keys5]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys5]
CodSpeed Performance Gauge
-4%
113.9 µs
118 µs
test_parse_units[False-millisecond]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-millisecond]
CodSpeed Performance Gauge
-4%
272.7 µs
282.8 µs
test_base_units[meter]
pint/testsuite/benchmarks/test_30_numpy.py::test_base_units[meter]
CodSpeed Performance Gauge
-4%
74.4 µs
77.2 µs
test_op2[sub-keys30]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys30]
CodSpeed Performance Gauge
-4%
290 µs
301.1 µs
test_op2[truediv-keys14]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys14]
CodSpeed Performance Gauge
-4%
118.2 µs
122.7 µs
test_getattr[False-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-minute]
CodSpeed Performance Gauge
-4%
98.5 µs
102.3 µs
test_op2[sub-keys10]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys10]
CodSpeed Performance Gauge
-4%
286.9 µs
298.3 µs
test_parse_units[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-angstrom]
CodSpeed Performance Gauge
-4%
80.2 µs
83.5 µs
test_op2[sub-keys8]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys8]
CodSpeed Performance Gauge
-4%
286.8 µs
298.4 µs
test_getattr[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-angstrom]
CodSpeed Performance Gauge
-4%
98.1 µs
102.2 µs
test_op2[mul-keys12]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys12]
CodSpeed Performance Gauge
-4%
111 µs
115.8 µs
test_op2[sub-keys21]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys21]
CodSpeed Performance Gauge
-4%
156 µs
163.2 µs
test_op2[eq-keys35]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys35]
CodSpeed Performance Gauge
-4%
64.3 µs
67.3 µs
test_op2[add-keys21]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[add-keys21]
CodSpeed Performance Gauge
-4%
157.4 µs
164.7 µs
test_base_units[False-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_base_units[False-angstrom/minute]
CodSpeed Performance Gauge
-5%
145.2 µs
152.1 µs
test_load_definitions_stage_3[True]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_3[True]
CodSpeed Performance Gauge
-5%
188.1 ms
197.1 ms
test_parse_units[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-meter]
CodSpeed Performance Gauge
-5%
80.2 µs
84.2 µs
test_to_units_container_detached[True-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[True-kilometer/second]
CodSpeed Performance Gauge
-5%
87.5 µs
92 µs
test_load_definitions_stage_3[None]
pint/testsuite/benchmarks/test_10_registry.py::test_load_definitions_stage_3[None]
CodSpeed Performance Gauge
-5%
172.8 ms
181.7 ms
test_to_units_container_registry[True-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[True-kilometer/second]
CodSpeed Performance Gauge
-5%
88.2 µs
92.8 µs
test_parse_units[False-second]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-second]
CodSpeed Performance Gauge
-5%
79.5 µs
83.6 µs
test_to_units_container_detached[True-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[True-angstrom/minute]
CodSpeed Performance Gauge
-5%
87.7 µs
92.3 µs
test_to_units_container_registry[True-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[True-angstrom/minute]
CodSpeed Performance Gauge
-5%
86.2 µs
90.8 µs
test_op1[neg-int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py::test_op1[neg-int_kilometer]
CodSpeed Performance Gauge
-5%
64.7 µs
68.1 µs
test_parse_units[False-minute]
pint/testsuite/benchmarks/test_10_registry.py::test_parse_units[False-minute]
CodSpeed Performance Gauge
-5%
79.3 µs
83.5 µs
test_getattr[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_getattr[False-meter]
CodSpeed Performance Gauge
-5%
99.2 µs
104.5 µs
test_to_units_container_registry[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[False-angstrom]
CodSpeed Performance Gauge
-5%
72.8 µs
76.8 µs
test_to_units_container_detached[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[False-meter]
CodSpeed Performance Gauge
-5%
70.9 µs
74.8 µs
test_op2[eq-keys14]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys14]
CodSpeed Performance Gauge
-5%
64 µs
67.5 µs
test_to_units_container_registry[False-meter]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[False-meter]
CodSpeed Performance Gauge
-5%
71.6 µs
75.6 µs
test_op2[truediv-keys29]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys29]
CodSpeed Performance Gauge
-5%
118.8 µs
125.5 µs
test_to_units_container_detached[False-angstrom]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[False-angstrom]
CodSpeed Performance Gauge
-5%
70.6 µs
74.7 µs
test_convert_from_uc[False-key1]
pint/testsuite/benchmarks/test_10_registry.py::test_convert_from_uc[False-key1]
CodSpeed Performance Gauge
-5%
246 µs
260.3 µs
test_op2[mul-keys30]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[mul-keys30]
CodSpeed Performance Gauge
-6%
113.1 µs
120.1 µs
test_to_units_container_registry[False-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_registry[False-angstrom/minute]
CodSpeed Performance Gauge
-6%
81 µs
86.1 µs
test_op2[eq-keys21]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[eq-keys21]
CodSpeed Performance Gauge
-6%
64 µs
68.1 µs
test_op2[sub-keys9]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[sub-keys9]
CodSpeed Performance Gauge
-6%
157.7 µs
167.9 µs
test_op2[truediv-keys26]
pint/testsuite/benchmarks/test_20_quantity.py::test_op2[truediv-keys26]
CodSpeed Performance Gauge
-8%
117.2 µs
127 µs
test_to_units_container_detached[False-angstrom/minute]
pint/testsuite/benchmarks/test_10_registry.py::test_to_units_container_detached[False-angstrom/minute]
CodSpeed Performance Gauge
-8%
80.8 µs
87.7 µs

Commits

Click on a commit to change the comparison range
Base
master
fc1aeba
-1%
Avoid numpy scalar warnings NumPy as of 1.25 deprecated automatically converting any "scalar" with non-zero number of dimensions to a float value. Therefore, we should ensure our values have ndim == 0 before passing to math.isnan()
5bc72ee
1 year ago
by dopplershift
Home Terms PrivacyDocs