Files
vectorcraft/crates/svg
dotCooCoo c1cd6131d1 SVG import: complexity tests count the work done instead of timing it
Two SVG import tests asserted elapsed time (1 s and 5 s), so a loaded
machine could fail them and a slower but still bounded run could pass.

- prepass.rs: a test-only counter adds up the numbers Edits::id tries
  for a made-up id. The test asserts 55,000 tries for 5,000 ids made up
  past 50,000 taken ones. With each id starting again at the number of
  ids made so far, as before the fix it covers, the count is 237,507,500
  and the assertion fails.
- entities.rs: the run of 1 MiB of `&` keeps its check that nothing is
  expanded and drops the timing. The scan is craft_svg::guard in
  craft-libs, whose own test checks the linear read.
2026-11-28 00:27:36 -08:00
..