python-humanize
humanize
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance improvements: 1.07x - 8.4x
#315
Merged
Comparing
hugovk:perf
(
64cefb4
) with
main
(
e7c04f4
)
CodSpeed Performance Gauge
+63%
Improvement
5
Untouched
10
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
15 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_apnumber
tests/test_benchmarks.py
CodSpeed Performance Gauge
×2.1
88.9 µs
43.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ordinal
tests/test_benchmarks.py
CodSpeed Performance Gauge
+84%
94 µs
51.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_intcomma
tests/test_benchmarks.py
CodSpeed Performance Gauge
+71%
94.2 µs
55.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_scientific
tests/test_benchmarks.py
CodSpeed Performance Gauge
+41%
71.1 µs
50.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_natural_list
tests/test_benchmarks.py
CodSpeed Performance Gauge
+25%
34.4 µs
27.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_naturalsize
tests/test_benchmarks.py
CodSpeed Performance Gauge
+6%
61.2 µs
57.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_precisedelta
tests/test_benchmarks.py
CodSpeed Performance Gauge
+5%
202.2 µs
192 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_naturaltime
tests/test_benchmarks.py
CodSpeed Performance Gauge
+5%
94.1 µs
89.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_naturaldelta
tests/test_benchmarks.py
CodSpeed Performance Gauge
+4%
63.1 µs
60.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_intword
tests/test_benchmarks.py
CodSpeed Performance Gauge
+4%
76.5 µs
73.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_naturalday
tests/test_benchmarks.py
CodSpeed Performance Gauge
+4%
64.7 µs
62.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_clamp
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
33.3 µs
33.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_metric
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
44.4 µs
44.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_naturaldate
tests/test_benchmarks.py
CodSpeed Performance Gauge
-1%
87.2 µs
87.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fractional
tests/test_benchmarks.py
CodSpeed Performance Gauge
-1%
65.2 µs
65.7 µs
Commits
Click on a commit to change the comparison range
Base
main
e7c04f4
+63.35%
_convert_aware_datetime: return early when value=None
ae306a7
1 day ago
by hugovk
-0.6%
Add perflint to Ruff
64cefb4
1 day ago
by hugovk
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs