• Show log

    Commit

  • Hash : dfca47f4
    Author : Behdad Esfahbod
    Date : 2022-05-17T16:21:02

    [ot-tag] Cache last bsearch result
    
    Part of https://github.com/harfbuzz/harfbuzz/issues/3591
    
    Humm. Looks like not all of the fat is bsearch overhead now. I cached
    the last bsearch result, but most of the time is still there. I'm
    baffled.
    
    Before:
    ------------------------------------------------------------------------------------------------
    Benchmark                                                      Time             CPU   Iterations
    ------------------------------------------------------------------------------------------------
    BM_hb_ot_tags_from_script_and_language/COMMON abcd_XY       8.08 ns         8.05 ns     84500482
    BM_hb_ot_tags_from_script_and_language/COMMON zh_CN         42.2 ns         42.1 ns     16722006
    BM_hb_ot_tags_from_script_and_language/COMMON en_US         16.1 ns         16.0 ns     43461527
    BM_hb_ot_tags_from_script_and_language/LATIN en_US          16.5 ns         16.5 ns     42448505
    BM_hb_ot_tags_from_script_and_language/COMMON none          4.34 ns         4.33 ns    161290530
    BM_hb_ot_tags_from_script_and_language/LATIN none           4.34 ns         4.33 ns    162339799
    
    After:
    ------------------------------------------------------------------------------------------------
    Benchmark                                                      Time             CPU   Iterations
    ------------------------------------------------------------------------------------------------
    BM_hb_ot_tags_from_script_and_language/COMMON abcd_XY       8.13 ns         8.11 ns     80438134
    BM_hb_ot_tags_from_script_and_language/COMMON zh_CN         40.0 ns         39.9 ns     17487939
    BM_hb_ot_tags_from_script_and_language/COMMON en_US         12.7 ns         12.7 ns     55124394
    BM_hb_ot_tags_from_script_and_language/LATIN en_US          13.1 ns         13.0 ns     53660125
    BM_hb_ot_tags_from_script_and_language/COMMON none          4.61 ns         4.60 ns    151394104
    BM_hb_ot_tags_from_script_and_language/LATIN none           4.70 ns         4.68 ns    150402847
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/harfbuzz.git
    Git SSH git@git.kmx.io:kc3-lang/harfbuzz.git
    Public access ? public
    Description

    HarfBuzz text shaping engine

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags

  • README

  • This is HarfBuzz, a text shaping library.
    
    For bug reports, mailing list, and other information please visit:
    
      http://harfbuzz.org/
    
    For license information, see https://github.com/harfbuzz/harfbuzz/blob/main/COPYING
    
    For build information, see https://github.com/harfbuzz/harfbuzz/blob/main/BUILD.md
    
    For custom configurations, see https://github.com/harfbuzz/harfbuzz/blob/main/CONFIG.md
    
    For test execution, see https://github.com/harfbuzz/harfbuzz/blob/main/TESTING.md
    
    Documentation: https://harfbuzz.github.io
    

  • README.md

  • Linux CI Status CircleCI Build Status OSS-Fuzz Status Coverity Scan Build Status Codacy Badge Codecov Code Coverage Packaging status

    This is HarfBuzz, a text shaping library.

    For bug reports, mailing list, and other information please visit:

    http://harfbuzz.org/

    For license information, see COPYING.

    For build information, see BUILD.md.

    For custom configurations, see CONFIG.md.

    For test execution, see TESTING.md.

    Documentation: https://harfbuzz.github.io

    Packaging status of HarfBuzz [![Packaging status](https://repology.org/badge/vertical-allrepos/harfbuzz.svg?header=harfbuzz)](https://repology.org/project/harfbuzz/versions)