OTS-PERF(1)
β¨ ots-perf(1) β performance checker β¨
okay bestie, welcome to ots-perf, a lil command-line icon from the OpenType Sanitizer family (that's the User Commands squad btw) π
πΈ NAME πΈ
ots-perf β performance checker π
π¦ SYNOPSIS π¦
ots-perf FONT_FILE
π DESCRIPTION π
so like, ots-perf is a program that validates and transcodes a font file N times using OTS, and then it prints out the elapsed time. that's it, that's the whole vibe π«Ά
it's literally doing this, no cap:
for (N times)
ValidateAndTranscode(original_font);
Print(elapsed_time_in_us / N);
so you get the average time per round, in microseconds, bc math is cute like that π
π EXAMPLES π
okay so here's what it looks like in the wild, and honestly? ate β¨
$ ./ots-perf sample.ttf
903 [us] sample.ttf (139332 bytes, 154 [byte/us])
$ ./ots-perf sample-bold.otf
291 [us] sample-bold.otf (150652 bytes, 517 [byte/us])
see how it flexes the file size AND the bytes-per-microsecond? main character energy fr fr π₯
π REPORTING BUGS π
found a bug? not you being the detective π report it over here bestie:
https://github.com/khaledhosny/ots/issues
π SEE ALSO π
the whole friend group, periodt:
ngl, this page is from OpenType Sanitizer, dated May 2021 β ty for coming to my ted talk, ily, go time some fonts π§π
π¦ where this page comes from
- epel 10: opentype-sanitizer 9.3.0-1.el10_3 Β· BSD-3-Clause
- epel 9: opentype-sanitizer 9.3.0-1.el9 Β· BSD-3-Clause
- fedora 43: opentype-sanitizer 9.2.0-4.fc43 Β· BSD-3-Clause
- fedora 43: opentype-sanitizer 9.3.0-1.fc43 Β· BSD-3-Clause
- fedora 44: opentype-sanitizer 9.2.0-6.fc44 Β· BSD-3-Clause
- fedora 44: opentype-sanitizer 9.3.0-1.fc44 Β· BSD-3-Clause
- nixos 26.05: opentype-sanitizer 9.2.0
- nixpkgs unstable: opentype-sanitizer 9.3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms