• Frank Tang's avatar
    [Intl] Add String toLocale(Lower|Upper)Case perf benchmark · 889769b4
    Frank Tang authored
    $ python -u tools/run_perf.py --binary-override-path   out/x64.release/d8 --filter "JSTests/Strings/StringToLocaleCase"  test/js-perf-test/JSTests.json
    INFO      >>> Running suite: JSTests/Strings/StringToLocaleCase
    INFO      >>> Stdout (#1):
    StringToLocaleUpperCaseTR-Strings(Score): 622
    StringToLocaleLowerCaseTR-Strings(Score): 728
    StringToLocaleUpperCase-Strings(Score): 1129
    StringToLocaleLowerCase-Strings(Score): 1548
    
    Bug: v8:8839
    Change-Id: I35e20c84614e99cb84ae51c175ac6b1cd53ad3a6
    Reviewed-on: https://chromium-review.googlesource.com/c/1469327
    Commit-Queue: Frank Tang <ftang@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59615}
    889769b4
string-toLocaleCase.js 1.21 KB