Use static variable for frequent i18n() call.
ClosedPublic

Authored by dfaure on Sep 19 2019, 5:47 PM.

Details

Test Plan

perf stat -r ./bench_parser heaptrack.david.18594.gz

Before: 160M cycles, 259M instructions, 43.58ms
After: 157M cycles, 252M instructions, 42.93ms

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16801
Build 16819: arc lint + arc unit
dfaure requested review of this revision.Sep 19 2019, 5:47 PM
dfaure created this revision.
mwolff accepted this revision.Sep 20 2019, 4:42 AM
This revision is now accepted and ready to land.Sep 20 2019, 4:42 AM
dfaure closed this revision.Sep 20 2019, 4:23 PM