Avatar for the codecov user
codecov
shared
BlogDocsChangelog

Cache more GitHub requests

#600Merged
Comparing
swatinem/cache-more-requests
(
ffd5bdf
) with
main
(
81d9bd8
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_report_carryforward
tests/benchmarks/test_report.py::test_report_carryforward
CodSpeed Performance Gauge
+1%
2.9 ms
2.9 ms
test_process_totals
tests/benchmarks/test_report.py::test_process_totals
CodSpeed Performance Gauge
0%
642.1 ms
641.1 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_diff_calculation[FilteredReport]
tests/benchmarks/test_report.py::test_report_diff_calculation[FilteredReport]
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
test_parse_shallow
tests/benchmarks/test_report.py::test_parse_shallow
CodSpeed Performance Gauge
0%
9.8 ms
9.8 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_report_merge
tests/benchmarks/test_report.py::test_report_merge
CodSpeed Performance Gauge
0%
2.7 s
2.7 s
test_parse_full
tests/benchmarks/test_report.py::test_parse_full
CodSpeed Performance Gauge
0%
535.9 ms
536.8 ms

Commits

Click on a commit to change the comparison range
Base
main
81d9bd8
0%
Cache more GitHub requests This extends GitHub request caching to the `list_files` and `get_source` functions. While both can take an arbitrary "mutable" ref, like a branch name, we only call those with an immutable commit sha, which makes these good calls to cache.
ffd5bdf
1 day ago
by Swatinem
© 2025 CodSpeed Technology
Home Terms PrivacyDocs