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)
|