aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/builder.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.com>2025-02-08 01:05:37 +0300
committertobo <tobo@yandex-team.com>2025-02-08 01:23:36 +0300
commit4129a9dd24e35aab2757f89b60544bc7bca8fb4c (patch)
treefc1f5a389e7051787191703361ecb5db420ddbff /util/string/builder.cpp
parentbddf3d433f03b81e174e294aec8de67f575509d8 (diff)
downloadydb-4129a9dd24e35aab2757f89b60544bc7bca8fb4c.tar.gz
GmTimeR x2 speedup
performance comparison againt standard gmtime\_r ``` ------------------------------------------------------------------------------- Benchmark Time CPU Iterations ------------------------------------------------------------------------------- BM_GmTimeR 3.66 ns 3.66 ns 189855900 BM_gmtime_r 18.7 ns 18.7 ns 37340999 BM_GmTimeRRandom/last_hour 5.12 ns 5.12 ns 136126173 BM_gmtime_r_Random/last_hour 19.2 ns 19.2 ns 36556971 BM_GmTimeRRandom/last_day 5.10 ns 5.10 ns 138257644 BM_gmtime_r_Random/last_day 19.2 ns 19.2 ns 37025160 BM_GmTimeRRandom/last_month 7.10 ns 7.10 ns 98235494 BM_gmtime_r_Random/last_month 20.4 ns 20.4 ns 34637975 BM_GmTimeRRandom/last_year 15.0 ns 15.0 ns 46664304 BM_gmtime_r_Random/last_year 26.8 ns 26.8 ns 26135911 BM_GmTimeRRandom/last_decade 17.2 ns 17.2 ns 40105536 BM_gmtime_r_Random/last_decade 27.0 ns 27.0 ns 25817056 BM_GmTimeRRandom/last_half_centry 17.1 ns 17.0 ns 41066079 BM_gmtime_r_Random/last_half_century 26.8 ns 26.7 ns 26215076 ``` commit_hash:33747760ad46412f50fe3cb06f4c438794a44492
Diffstat (limited to 'util/string/builder.cpp')
0 files changed, 0 insertions, 0 deletions