Files
vectorcraft/crates/text/src
dotCooCoo 90749b1646 Tests: text tests count work and wait on handshakes instead of the clock
Six tests in vectorcraft-text passed or failed on how fast the machine
ran them. They now check work counts and handshakes:

- Layout speed (1,000 characters, and 10,000 under each composer):
  laying out twice the text takes at most 2.5 times the steps, and at
  most 32 steps a character. The steps are the bytes shaped, the clusters
  the single-line composer reads and the line starts the every-line
  composer weighs at each break, counted by a test-only counter.
- Many one-run paragraphs: the runs the paragraphs look through stay
  within 4 per paragraph.
- A contour-point caret on a huge composite reads no more glyphs than
  the lookup's budget, and a shape whose readings all fail tries no more
  readings than the cap.
- The font menu's quick list is read on the test thread while the font
  scan is held. A list that waited for the scan would hold the installed
  fonts, so the list's content decides the result. The 10 s timeout only
  releases a call that hangs.

Two font folder tests slept 50 ms to get past the file system's clock
tick. They now set the folder's modification time with
File::set_modified.
2026-11-27 17:10:42 -08:00
..
2026-11-12 22:28:38 -08:00