Avatar for the codecov user
codecov
shared
BlogDocsChangelog

Expose a `cache` instance from `shared.helpers.cache`

#597Merged
Comparing
swatinem/cache-instance
(
4a7e28b
) with
main
(
d591317
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_process_totals
tests/benchmarks/test_report.py::test_process_totals
CodSpeed Performance Gauge
0%
641.9 ms
639.4 ms
test_report_diff_calculation[Report]
tests/benchmarks/test_report.py::test_report_diff_calculation[Report]
CodSpeed Performance Gauge
0%
2 ms
1.9 ms
test_parse_shallow
tests/benchmarks/test_report.py::test_parse_shallow
CodSpeed Performance Gauge
0%
9.8 ms
9.8 ms
test_parse_full
tests/benchmarks/test_report.py::test_parse_full
CodSpeed Performance Gauge
0%
537.2 ms
536.5 ms
test_report_serialize
tests/benchmarks/test_report.py::test_report_serialize
CodSpeed Performance Gauge
0%
5.9 ms
5.8 ms
test_report_filtering
tests/benchmarks/test_report.py::test_report_filtering
CodSpeed Performance Gauge
0%
2.6 s
2.6 s
test_report_carryforward
tests/benchmarks/test_report.py::test_report_carryforward
CodSpeed Performance Gauge
0%
2.9 ms
2.9 ms
test_report_diff_calculation[FilteredReport]
tests/benchmarks/test_report.py::test_report_diff_calculation[FilteredReport]
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
test_report_merge
tests/benchmarks/test_report.py::test_report_merge
CodSpeed Performance Gauge
0%
2.7 s
2.7 s

Commits

Click on a commit to change the comparison range
Base
main
d591317
0%
Expose a `cache` instance from `shared.helpers.cache` Both `api` and `worker` currently have their own modules exporting a `cache` instance, which at least in API is being misused in some places. By exposed an ready to use instance directly from `shared`, it should be harder to misuse.
17d61c4
2 days ago
by Swatinem
0%
add caching directly to github integration tokens
53e82da
2 days ago
by Swatinem
0%
remove double-caching
4a7e28b
2 days ago
by Swatinem
© 2025 CodSpeed Technology
Home Terms PrivacyDocs