perf
patch
intel
task/8-intel-hardening
#17 / 17
perf(intel): share bounded, immutable source-object reads across providers; reject oversize objects before and during decompression (#8 R2)
Six snapshot providers each re-read every object of the analysed revision (626 objects x 5 providers at 100 commits = ~14 s of read cost). A process-wide byte-bounded LRU (32 MiB, items over a quarter of the budget not stored, only successful reads stored) now serves repeats; the object row is always consulted so a deleted row stays unreadable. The recorded size_bytes rejects an oversize object before any read, and decompress_bounded caps the expansion because the recorded size is not trusted alone. Oversize files are still counted (files_oversize), unreadable ones still fail the job.
sha256:bdc0664ea517f0343fee86e1998df5d9ee2d833bb76e4ce43f85d9f8fb8dd621
sha
+48
~2
symbols
sha256:d0c21a06e674191ce984d90d0dbd7afb2a8eb84dfd504fad8690c0df2797d22d
snapshot
+48
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
50 symbols
+
test_s1_a_second_read_of_an_object_does_not_touch_storage
function
async_function test_s1_a_second_read_of_an_object_does_not_touch_storage L73–82
+
test_s1_snapshot_providers_share_one_read_per_object
function
async_function test_s1_snapshot_providers_share_one_read_per_object L86–93
+
test_s2_an_object_larger_than_a_quarter_of_the_budget_is_not_cached
function
async_function test_s2_an_object_larger_than_a_quarter_of_the_budget_is_not_cached L119–128
+
test_s2_the_cache_evicts_least_recently_used_and_never_exceeds_its_budget
function
async_function test_s2_the_cache_evicts_least_recently_used_and_never_exceeds_its_budget L99–115
+
test_s3_a_failed_read_is_not_cached_and_the_next_attempt_reads_again
function
async_function test_s3_a_failed_read_is_not_cached_and_the_next_attempt_reads_again L134–147
+
test_s3_an_unreadable_object_still_fails_the_provider_with_a_warm_cache
function
async_function test_s3_an_unreadable_object_still_fails_the_provider_with_a_warm_cache L151–165
+
test_s4_a_zero_byte_file_is_a_cache_hit_not_unreadable
function
async_function test_s4_a_zero_byte_file_is_a_cache_hit_not_unreadable L171–178
+
test_s5_a_cached_object_whose_row_is_gone_is_unreadable
function
async_function test_s5_a_cached_object_whose_row_is_gone_is_unreadable L184–190
+
test_s6_a_decompression_bomb_with_a_small_recorded_size_is_rejected_bounded
function
async_function test_s6_a_decompression_bomb_with_a_small_recorded_size_is_rejected_bounded L206–213
+
test_s6_an_oversize_file_is_counted_not_silently_dropped_and_the_job_still_completes
function
async_function test_s6_an_oversize_file_is_counted_not_silently_dropped_and_the_job_still_completes L236–251
+
test_s6_decompress_bounded_handles_zstd_and_a_corrupt_stream_is_treated_as_plain_bytes
function
function test_s6_decompress_bounded_handles_zstd_and_a_corrupt_stream_is_treated_as_plain_bytes L226–232
+
test_s6_decompress_bounded_stops_at_the_limit_for_zlib_and_passes_small_and_plain_data
function
function test_s6_decompress_bounded_stops_at_the_limit_for_zlib_and_passes_small_and_plain_data L216–223
+
test_s6_the_recorded_size_rejects_an_oversize_object_before_any_read
function
async_function test_s6_the_recorded_size_rejects_an_oversize_object_before_any_read L196–202
+
test_s7_a_warm_cache_never_shows_a_provider_another_revisions_content
function
async_function test_s7_a_warm_cache_never_shows_a_provider_another_revisions_content L257–274
← Older
Oldest on task/8-intel-hardening
All commits
Newer
perf(intel): share symbol-parse results across snapshot provider…
sha256:cb45801289825e65d4aea6c6dc8be73fe32a49bb997b1da5f9d3ac9d54712c91
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:bdc0664ea517f0343fee86e1998df5d9ee2d833bb76e4ce43f85d9f8fb8dd621 --body "your comment"
No comments yet. Be the first to start the discussion.