Avatar for the hgrecco user
hgrecco
pint
BlogDocsChangelog

Doc qto

#2289
Comparing
andrewgsavage:doc_qto
(
c4a76d1
) with
master
(
e4b44de
)
CodSpeed Performance Gauge
+1%
Untouched
448
Skipped
448

Benchmarks

896 total
test_wrapper_nonstrict[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+15%
3.3 µs2.9 µs
test_wrapper_nonstrict[float_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+14%
3.3 µs2.9 µs
test_wrapper_nonstrict[int_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+12%
3.2 µs2.9 µs
test_wrapper_nonstrict[complex_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+12%
3.2 µs2.9 µs
test_wrapper_nonstrict[complex_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+12%
3.2 µs2.9 µs
test_wrapper_nonstrict[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+11%
3.2 µs2.9 µs
test_base_units[angstrom/minute]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+9%
6.6 µs6 µs
test_getattr[True-kilometer]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+8%
6.6 µs6.1 µs
test_getattr[False-kilometer]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+8%
6.6 µs6.1 µs
test_base_units[angstrom]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+8%
7.7 µs7.2 µs
test_base_units[meter/second]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+7%
6.5 µs6 µs
test_base_units[meter]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+6%
7.7 µs7.2 µs
test_op2[lt-keys6]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+6%
40.9 µs38.6 µs
test_op2[eq-keys26]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
3.5 µs3.3 µs
test_op2[truediv-keys6]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+6%
16.5 µs15.6 µs
test_op2[eq-keys35]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+6%
3.4 µs3.3 µs
test_op1[square-mid_array_meter]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+5%
23 µs21.8 µs
test_wrapper[int_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
13.7 µs13 µs
test_base_units[True-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+5%
6.4 µs6.1 µs
test_wrapper_ret[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
19.2 µs18.2 µs
test_wrapper_ret[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
19.4 µs18.4 µs
test_wrapper[float_meter]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
13.8 µs13.1 µs
test_wrapper[int_kilometer]
pint/testsuite/benchmarks/test_20_quantity.py
CodSpeed Performance Gauge
+5%
13.7 µs13 µs
test_op2[subtract-keys7]
pint/testsuite/benchmarks/test_30_numpy.py
CodSpeed Performance Gauge
+5%
40.7 µs38.7 µs
test_base_units[False-kilometer/second]
pint/testsuite/benchmarks/test_10_registry.py
CodSpeed Performance Gauge
+5%
6.4 µs6.1 µs

Commits

Click on a commit to change the comparison range
Base
master
e4b44de
+2.21%
add docs page for all quantity to_* conversion methods
d76d3b2
7 days ago
by andrewgsavage
-1.1%
add summary table to quantity to_* docs with chained conversion examples
530db98
7 days ago
by andrewgsavage
+20.71%
add to_preferred row to quantity-to table
59d419f
7 days ago
by andrewgsavage
-20.3%
fix to_preferred table values using scipy env
94655f2
7 days ago
by andrewgsavage
-0.43%
add note distinguishing prefix-only vs unit-changing methods
a966434
7 days ago
by andrewgsavage
+0.68%
use pandas to generate summary table in quantity-to docs
5f17331
5 days ago
by andrewgsavage
-2.51%
render summary table as HTML via pandas, hide generation code
6db488e
5 days ago
by andrewgsavage
+2.19%
add Q_(1e-7, 'Hz') column to summary table
cc76edf
5 days ago
by andrewgsavage
-0.17%
use quantity strings as column headers in summary table
c4a76d1
5 days ago
by andrewgsavage
© 2026 CodSpeed Technology
Home Terms Privacy Docs