Files
vectorcraft/crates/eps/src/import
dotCooCoo f039f4ad46 EPS import: test the measuring budget with 4 MiB of data instead of 300 MiB
measuring_data_too_large_to_hold_in_a_loop_runs_out_of_the_budget deflated
and measured 300 MiB of zeros against the 50,000,000-operation budget, and
took about 3.9 s. It now runs with the reader limited to 1 MiB
(with_data_limit), zeros that decompress to 4 MiB, and a budget of 524,288
operations for a file whatever its length (with_ops_limit, a test-only seam
for MAX_OPS like with_data_limit). It still checks that the data is
measured in full more than once and at most five times, and runs in about
0.09 s.

read_counting now reads on its thread with the calling thread's data and
operation limits, so tests that use it can lower them.
2026-12-03 10:41:14 -08:00
..