Avatar for the codecov user
codecov
umbrella
BlogDocsChangelog

feat: use hypercore for TA tables

#327
Comparing
joseph/hypercore
(
f3fef84
) with
main
(
45e74cc
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_parse_full
libs/shared/tests/benchmarks/test_report.py::test_parse_full
CodSpeed Performance Gauge
0%
487.9 ms
487.2 ms
test_report_merge
libs/shared/tests/benchmarks/test_report.py::test_report_merge
CodSpeed Performance Gauge
0%
2.7 s
2.7 s
test_report_diff_calculation[FilteredReport]
libs/shared/tests/benchmarks/test_report.py::test_report_diff_calculation[FilteredReport]
CodSpeed Performance Gauge
0%
2.8 ms
2.9 ms
test_process_totals
libs/shared/tests/benchmarks/test_report.py::test_process_totals
CodSpeed Performance Gauge
0%
591.4 ms
591.6 ms
test_report_filtering
libs/shared/tests/benchmarks/test_report.py::test_report_filtering
CodSpeed Performance Gauge
0%
2.3 s
2.3 s
test_report_serialize
libs/shared/tests/benchmarks/test_report.py::test_report_serialize
CodSpeed Performance Gauge
0%
5.7 ms
5.7 ms
test_report_diff_calculation[Report]
libs/shared/tests/benchmarks/test_report.py::test_report_diff_calculation[Report]
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
test_parse_shallow
libs/shared/tests/benchmarks/test_report.py::test_parse_shallow
CodSpeed Performance Gauge
0%
9.5 ms
9.5 ms
test_report_carryforward
libs/shared/tests/benchmarks/test_report.py::test_report_carryforward
CodSpeed Performance Gauge
-1%
5.4 ms
5.5 ms

Commits

Click on a commit to change the comparison range
Base
main
45e74cc
0%
feat: use hypercore for TA tables we're enabling Timescale's hypercore feature for the TA testrun hypertable and the testrun summary and testrun branch summary CAs. We're doing this for the space savings, since we're not really doing point queries on the testruns table. We're segmenting by repoid and branch because we will almost always filter on repo_id if we're running queries against any TA table, and I'm choosing to also segment by branch because we'll be filtering by branch in some of the CAs and when we're reading raw data from the table in the API. For the orderby section I'm choosing to order by testsuite, classname, name then timestamp because i want to have similar tests grouped together in chunks so we can make the most of the compression and also because we're grouping by those fields in the computations for the CAs. the old image is 2 years old and is using timescale 2.10.2. We want to use the hypercore API so we have to have at least 2.18.0, so I'm updating the image we're using so CI works.
f3fef84
16 days ago
by joseph-sentry
© 2025 CodSpeed Technology
Home Terms Privacy Docs