freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] gsoc-2023-ahmet-final 8ca5bb5bf 2/2: [ftbench README] enhanc


From: Werner Lemberg
Subject: [freetype2] gsoc-2023-ahmet-final 8ca5bb5bf 2/2: [ftbench README] enhanced.
Date: Mon, 25 Sep 2023 06:35:18 -0400 (EDT)

branch: gsoc-2023-ahmet-final
commit 8ca5bb5bf16191901617af9afe0d300bf48b9251
Author: goksu <25721443+goeksu@users.noreply.github.com>
Commit: goksu <25721443+goeksu@users.noreply.github.com>

    [ftbench README] enhanced.
---
 src/tools/ftbench/README | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/src/tools/ftbench/README b/src/tools/ftbench/README
index db0911a64..83d176292 100644
--- a/src/tools/ftbench/README
+++ b/src/tools/ftbench/README
@@ -1,17 +1,18 @@
 ftbench
 ========
 
-ftbench is a program designed to run FreeType benchmarks. It accepts various 
options and a font name to run specific tests on font rendering operations.
+ftbench is a program designed to run FreeType benchmarks between versions.
+It accepts various options to run specific tests on font rendering operations.
 
 Each test may involve tasks such as:
 
 . Initializing the library
 . Opening the font file
-. Loading and optionally rendering each glyph
 . Comparing results with cached versions (if available)
 . Configuring specific charmap indices, load flags, etc.
 
-Usage is time-limited or can be explicitly set to use a maximum number of 
iterations per test.
+Usage is iterations-limited or can be explicitly set to use a maximum
+number of iterations per test.
 
 
 Command line options
@@ -20,7 +21,8 @@ Command line options
 -C      Compare with cached version (if available).
 -c N    Use at most N iterations for each test (0 means time-limited).
 -e E    Set specific charmap index E.
--f L    Use hex number L as load flags (see FT_LOAD_XXX'). -H NAME  Use PS 
hinting engine NAME (default is adobe').
+-f L    Use hex number L as load flags (see FT_LOAD_XXX').
+-H NAME  Use PS hinting engine NAME (default is adobe').
 -I VER  Use TT interpreter version VER (default is version 40).
 -i I-J  Forward or reverse range of glyph indices to use.
 -l N    Set LCD filter to N (default is 0: none).
@@ -34,12 +36,16 @@ Command line options
 -b      tests Perform chosen tests (default is all).
 -v      Show version.
 
-Compilation
+Usage
 -----------
 
-make baseline   To create a baseline for your benchmarks, use the `make 
baseline` command. This will compile the ftbench.c and create a set of baseline 
measurements in the objs/baseline/ directory.
+make baseline <flags>   To create a baseline for your benchmarks,
+use the `make baseline` command.  This will compile the ftbench.c and
+create a set of baseline measurements in the objs/baseline/ directory.
 
-make benchmark  To run the benchmarks, use the `make benchmark` command. The 
results will be stored in the objs/benchmark/ directory. It will copy tohtml.py 
script to objs/ and generate a html file.
-
-make clean-benchmark    To remove all generated benchmark files and clean the 
objs directory, use the `make clean-benchmark` command.
+make benchmark <flags>  To run the benchmarks, use the `make benchmark` 
command.
+The results will be stored in the objs/benchmark/ directory.
+It will copy tohtml.py script to objs/ and generate a html file.
 
+make clean-benchmark    To remove all generated benchmark files and
+clean the objs directory, use the `make clean-benchmark` command.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]