• 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