freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][gsoc-2023-ahmet-final] 2 commits: [ftbench] reb


From: @goksu
Subject: [Git][freetype/freetype][gsoc-2023-ahmet-final] 2 commits: [ftbench] rebase with the updated code
Date: Mon, 25 Sep 2023 10:35:10 +0000

Ahmet Göksu pushed to branch gsoc-2023-ahmet-final at FreeType / FreeType

Commits:

  • 25bcda3a
    by goksu at 2023-09-25T12:18:08+03:00
    [ftbench] rebase with the updated code
    
  • 8ca5bb5b
    by goksu at 2023-09-25T13:33:57+03:00
    [ftbench README] enhanced.
    

2 changed files:

Changes:

  • src/tools/ftbench/README
    1 1
     ftbench
    
    2 2
     ========
    
    3 3
     
    
    4
    -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.
    
    4
    +ftbench is a program designed to run FreeType benchmarks between versions.
    
    5
    +It accepts various options to run specific tests on font rendering operations.
    
    5 6
     
    
    6 7
     Each test may involve tasks such as:
    
    7 8
     
    
    8 9
     . Initializing the library
    
    9 10
     . Opening the font file
    
    10
    -. Loading and optionally rendering each glyph
    
    11 11
     . Comparing results with cached versions (if available)
    
    12 12
     . Configuring specific charmap indices, load flags, etc.
    
    13 13
     
    
    14
    -Usage is time-limited or can be explicitly set to use a maximum number of iterations per test.
    
    14
    +Usage is iterations-limited or can be explicitly set to use a maximum
    
    15
    +number of iterations per test.
    
    15 16
     
    
    16 17
     
    
    17 18
     Command line options
    
    ... ... @@ -20,7 +21,8 @@ Command line options
    20 21
     -C      Compare with cached version (if available).
    
    21 22
     -c N    Use at most N iterations for each test (0 means time-limited).
    
    22 23
     -e E    Set specific charmap index E.
    
    23
    --f L    Use hex number L as load flags (see FT_LOAD_XXX'). -H NAME  Use PS hinting engine NAME (default is adobe').
    
    24
    +-f L    Use hex number L as load flags (see FT_LOAD_XXX').
    
    25
    +-H NAME  Use PS hinting engine NAME (default is adobe').
    
    24 26
     -I VER  Use TT interpreter version VER (default is version 40).
    
    25 27
     -i I-J  Forward or reverse range of glyph indices to use.
    
    26 28
     -l N    Set LCD filter to N (default is 0: none).
    
    ... ... @@ -34,12 +36,16 @@ Command line options
    34 36
     -b      tests Perform chosen tests (default is all).
    
    35 37
     -v      Show version.
    
    36 38
     
    
    37
    -Compilation
    
    39
    +Usage
    
    38 40
     -----------
    
    39 41
     
    
    40
    -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.
    
    42
    +make baseline <flags>   To create a baseline for your benchmarks,
    
    43
    +use the `make baseline` command.  This will compile the ftbench.c and
    
    44
    +create a set of baseline measurements in the objs/baseline/ directory.
    
    41 45
     
    
    42
    -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.
    
    43
    -
    
    44
    -make clean-benchmark    To remove all generated benchmark files and clean the objs directory, use the `make clean-benchmark` command.
    
    46
    +make benchmark <flags>  To run the benchmarks, use the `make benchmark` command.
    
    47
    +The results will be stored in the objs/benchmark/ directory.
    
    48
    +It will copy tohtml.py script to objs/ and generate a html file.
    
    45 49
     
    
    50
    +make clean-benchmark    To remove all generated benchmark files and
    
    51
    +clean the objs directory, use the `make clean-benchmark` command.

  • src/tools/ftbench/ftbench.c
    ... ... @@ -958,6 +958,9 @@
    958 958
           "\n"
    
    959 959
           "Usage: ftbench [options] fontname\n"
    
    960 960
           "\n"
    
    961
    +      "  -a \"axis1 axis2 ...\"\n"
    
    962
    +      "            Specify the design coordinates for each, if any,\n"
    
    963
    +      "            Multiple Master axis at start-up.\n"
    
    961 964
           "  -C        Compare with cached version (if available).\n"
    
    962 965
           "  -c N      Use at most N iterations for each test\n"
    
    963 966
           "            (0 means time limited).\n"
    
    ... ... @@ -1571,4 +1574,4 @@
    1571 1574
       }
    
    1572 1575
     
    
    1573 1576
     
    
    1574
    -/* End */
    1577
    +/* End */
    \ No newline at end of file


  • reply via email to

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