Avatar for the jsonlt user
jsonlt
jsonlt-python
BlogDocsChangelog

refactor: delegate values() to _sorted_records()

#19Merged
Comparing
refactor/values-delegate-to-sorted-records
(
4c740e9
) with
main
(
e0ca4b4
)
CodSpeed Performance Gauge
+18%
Improvement
1
Untouched
172

Benchmarks

173 total
test_find_all_records[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchFind
CodSpeed Performance Gauge
+18%
3.7 ms3.1 ms
test_get_nonexistent_key[small-int-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+7%
23.8 µs22.3 µs
test_count[small-tuple-0]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
+5%
20.3 µs19.4 µs
test_get_nonexistent_key[small-tuple-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+5%
25.6 µs24.5 µs
test_get_nonexistent_key[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+3%
23.2 µs22.5 µs
test_all[small-tuple-1]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
37.6 µs36.4 µs
test_all[small-str-0]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
34.7 µs33.6 µs
test_all[small-tuple-0]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
34.6 µs33.7 µs
test_all[small-str-1]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
36.9 µs35.8 µs
test_get_nonexistent_key[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+3%
22.7 µs22.1 µs
test_all[small-int-1]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
37.2 µs36.2 µs
test_all[small-int-0]
tests/benchmarks/test_bench_table.py::TestBenchAll
CodSpeed Performance Gauge
+3%
34.6 µs33.7 µs
test_get_nonexistent_key[small-str-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+3%
23.8 µs23.2 µs
test_get_existing_key[small-tuple-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
24.9 µs24.3 µs
test_get_existing_key[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
23.1 µs22.6 µs
test_get_nonexistent_key[small-tuple-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
23.8 µs23.2 µs
test_get_existing_key[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
23.6 µs23.1 µs
test_get_existing_key[small-int-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
22.7 µs22.2 µs
test_get_existing_key[small-tuple-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
+2%
24.8 µs24.3 µs
test_find_one_match_late[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchFindOne
CodSpeed Performance Gauge
+1%
3.7 ms3.7 ms
test_load[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchLoad
CodSpeed Performance Gauge
+1%
33.6 ms33.2 ms
test_find_all_records[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchFind
CodSpeed Performance Gauge
+1%
4.1 ms4.1 ms
test_keys[small-str-1]
tests/benchmarks/test_bench_table.py::TestBenchKeys
CodSpeed Performance Gauge
+1%
29.2 µs29 µs
test_keys[small-int-1]
tests/benchmarks/test_bench_table.py::TestBenchKeys
CodSpeed Performance Gauge
+1%
29 µs28.9 µs
test_items[small-tuple-1]
tests/benchmarks/test_bench_table.py::TestBenchItems
CodSpeed Performance Gauge
+1%
35.7 µs35.5 µs

Commits

Click on a commit to change the comparison range
Base
main
e0ca4b4
+17.65%
refactor: delegate values() to _sorted_records()
4c740e9
1 month ago
by tbhb
© 2026 CodSpeed Technology
Home Terms Privacy Docs