Avatar for the jsonlt user
jsonlt
jsonlt-python
BlogDocsChangelog

perf(transaction): cache serialized records to avoid double serialization

#10Merged
Comparing
cache-serialized-records-in-tx
(
ca60cad
) with
main
(
75ed41c
)
CodSpeed Performance Gauge
-1%
Untouched
173
Archived
1

Benchmarks

174 total
test_get_nonexistent_key[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
-8%
21.8 µs23.7 µs
test_find_with_limit[small-int-100]
tests/benchmarks/test_bench_table.py::TestBenchFind
CodSpeed Performance Gauge
+8%
351.9 µs326.9 µs
test_count[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-7%
19.3 µs20.8 µs
test_find_all_records[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchFind
CodSpeed Performance Gauge
-7%
3.5 ms3.7 ms
test_find_one_match_early[small-int-100]
tests/benchmarks/test_bench_table.py::TestBenchFindOne
CodSpeed Performance Gauge
+6%
332.1 µs314.7 µs
test_get_existing_key[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
-5%
22.7 µs23.9 µs
test_get_nonexistent_key[small-str-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
-4%
22.8 µs23.8 µs
test_get_existing_key[small-tuple-100]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
-4%
23.9 µs25 µs
test_count[small-tuple-1]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-4%
18.7 µs19.4 µs
test_get_existing_key[small-tuple-1k]
tests/benchmarks/test_bench_table.py::TestBenchGet
CodSpeed Performance Gauge
-4%
24 µs24.9 µs
test_count[small-tuple-0]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-4%
18.7 µs19.4 µs
test_find_all_records[small-str-100]
tests/benchmarks/test_bench_table.py::TestBenchFind
CodSpeed Performance Gauge
-4%
384.6 µs399.2 µs
test_count[small-int-1]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-4%
18.7 µs19.4 µs
test_count[small-str-0]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-4%
18.8 µs19.5 µs
test_count[small-str-1]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
18.7 µs19.4 µs
test_count[small-tuple-1k]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
19.4 µs20.1 µs
test_keys[small-str-1]
tests/benchmarks/test_bench_table.py::TestBenchKeys
CodSpeed Performance Gauge
-3%
29.3 µs30.2 µs
test_count[small-int-0]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
18.7 µs19.3 µs
test_count[small-tuple-100]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
18.7 µs19.3 µs
test_count[small-str-100]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
29.7 µs30.6 µs
test_count[small-int-1k]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
19.5 µs20.1 µs
test_count[small-int-100]
tests/benchmarks/test_bench_table.py::TestBenchCount
CodSpeed Performance Gauge
-3%
18.7 µs19.3 µs
test_has_existing[small-int-1]
tests/benchmarks/test_bench_table.py::TestBenchHas
CodSpeed Performance Gauge
-3%
21.6 µs22.2 µs
test_keys[small-int-1]
tests/benchmarks/test_bench_table.py::TestBenchKeys
CodSpeed Performance Gauge
+3%
30.4 µs29.6 µs
test_has_nonexistent[small-str-1k]
tests/benchmarks/test_bench_table.py::TestBenchHas
CodSpeed Performance Gauge
-3%
21.9 µs22.5 µs

Commits

Click on a commit to change the comparison range
Base
main
75ed41c
-0.89%
perf(transaction): cache serialized records to avoid double serialization
ca60cad
6 months ago
by tbhb
© 2026 CodSpeed Technology
Home Terms Privacy Docs