Files
harfbuzz/test/threads
Behdad Esfahbod 48541baf09 [test/threads] Use focused shaping corpora (#6183)
The thread-safety test shaped entire books and a twelve-thousand-line word
list in every worker.  That made it behave like a benchmark even though
the races it targets are exercised when threads concurrently initialize
and use a shared font.

Use the existing substantial paragraph corpora instead.  They retain
Latin and Arabic-script coverage across every font backend and both
variable-font modes while reducing standalone runtime from about 1.09s
to 0.16s.

Also reset the worker start gate for every backend so each combination
actually begins concurrently instead of only synchronizing the first.

The full 270-test Meson suite passes, as does an 8-thread, 5-repetition
stress run.

Assisted-by: OpenAI Codex <codex@openai.com>
2026-08-19 14:20:54 -06:00
..