File: ots-perf.1

package info (click to toggle)
opentype-sanitizer 8.2.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,164 kB
  • sloc: cpp: 17,010; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.TH OTS-PERF "1" "May 2021" "OpenType Sanitizer" "User Commands"
.SH NAME
ots-perf \- performance checker
.SH SYNOPSIS
.B ots-perf
\fI\,FONT_FILE\/\fR
.SH DESCRIPTION
.PP
ots-perf is a program which validates and transcodes a font file N times using
OTS, then prints the elapsed time:
.PP
.RS
.nf
for\ (N\ times)
\ \ ValidateAndTranscode(original_font);
Print(elapsed_time_in_us\ /\ N);
.fi
.RE
.SH EXAMPLES
.RS
.nf
$ ./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])
.fi
.RE
.SH "REPORTING BUGS"
Report bugs to  <https://github.com/khaledhosny/ots/issues>
.SH "SEE ALSO"
.BR ots-idempotent (1),
.BR ots-sanitize (1),
.BR ots-side-by-side (1),
.BR ots-validator-checker (1)