/num_sum_bench

Benchmark for num digits' sum

Primary LanguageC++

Benchmark for num digits' sum.

HOWTO

  1. git submodule update --init --recursive
  2. make

Results

------------------------------------------------------------------
Benchmark                        Time             CPU   Iterations
------------------------------------------------------------------
BM_sumWithConversion           143 ns          143 ns      5016284
BM_sumWithoutConversion       58.9 ns         58.8 ns     11940734