Commit Graph
15 Commits
Author SHA1 Message Date
Behdad Esfahbod 80540ed4b1 [perf] Add public-domain Japanese script-run corpus
Add a 100,000-character Japanese shaping corpus derived from Natsume
Soseki's copyright-expired Wagahai wa Neko de Aru.  Split the sample
into pure Han, Hiragana, and Katakana runs, with Inherited characters
allowed within a run and Common characters omitted.

Document the Aozora Bunko source, reuse terms, source checksum, and
transformations in perf/texts/COPYING.

Testing: meson test -C build (274 tests passed)

Assisted-by: OpenAI Codex
2026-09-03 19:09:08 -06:00
Behdad Esfahbod 62712e7393 Revert "Add Japanese text corpus for perf testing"
This reverts commit c159b544f9.

Reason: Incompatible license of the source.
2026-09-03 19:04:43 -06:00
Behdad Esfahbod c159b544f9 Add Japanese text corpus for perf testing 2026-09-03 17:00:18 -06:00
Behdad EsfahbodandClaude Opus 4.6 066da3ed3d [gpu] Multi-script default text based on font GSUB
Check the font's GSUB table for Latin and Arabic script support.
Build default demo text from English (Lorem Ipsum) and Persian
paragraphs for supported scripts, cropped to 35 lines each.

Source paragraphs live in perf/texts/{en,fa}-paragraph.txt.
gen-default-texts.py wraps them at fixed width and generates
the .hh headers.

Web demo hardcodes both texts since the embedded font supports
both scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 12:23:43 -06:00
Behdad Esfahbod b44f6ff5fe [perf/texts] Add a list of just 2letter strings 2025-02-05 12:19:48 +00:00
Behdad Esfahbod 267ebeeccd [perf/text] Add a long piece of JS code for benchmarking 2025-02-04 11:10:31 +00:00
Behdad Esfahbod 55f41e287f [perf] Add duployan.txt
From https://kaltashwawa.ca/2022/01/20/lovecraft-in-chinook-puspus-kopa-ulthar-tawn/
2023-07-21 12:10:46 -06:00
Behdad Esfahbod b6df347137 [perf] Add Hindi test to benchmark-shape 2022-11-23 20:15:16 -07:00
Behdad Esfahbod 443961971a [perf] Add fa-words.txt and use in shape benchmark 2022-11-16 16:35:00 -07:00
Behdad Esfahbod 2dec742070 [benchmark-shape] Remove a few tests
They were not adding value.
2022-06-05 02:04:02 -06:00
Behdad Esfahbod c852b86841 Rename HBGlyphID to HBGlyphID16 2021-09-19 16:30:12 -04:00
Ambient Lighter 4cc4cd3b24 [docs] Fix spelling typo (#2945) 2021-04-10 14:11:23 +03:00
Behdad Esfahbod aa43e183dd [perf Add texts/en-words.txt
$ cat docs/usermanual-*.xml src/hb*.cc src/hb*.{h,hh,cc} | sed 's/[^a-zA-Z ]/ /g' | tr ' ' '\n' | sort | uniq | grep . > perf/texts/en-words.txt
2019-12-16 17:48:07 -08:00
Behdad Esfahbod e101a67257 [perf] Add texts/fa-thelittleprince.txt 2019-12-10 12:46:14 -06:00
Behdad Esfahbod 2c781a6701 [perf] More rename 2019-12-10 12:43:42 -06:00