mirror of
https://github.com/biojppm/c4core.git
synced 2026-01-18 21:41:18 +01:00
master
66 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c8cc412616 | fix warnings with -Wundef | ||
|
|
2065437320 | Use yamlscript in the CI + fix all workflows | ||
|
|
eb696d2abe | [fix] pedantic warnings | ||
|
|
223a841759 | [fix] 32bit benchmark intermitent failure with std::bad_alloc | ||
|
|
a4a168217b |
[fix] ensure all tests run with exceptions disabled
re biojppm/rapidyaml#359 |
||
|
|
ea85334890 | [bm] fix bm code after update of googlebenchmark | ||
|
|
bc4595e930 | [chore] prefer shallow clones for external projects | ||
|
|
5e99eeaa76 | [fix] googlebenchmark now uses main | ||
|
|
492dfa975d | [bm] fix std::to_chars()/std::from_chars() benchmarks: were not called | ||
|
|
7b635d0e7d | [bm] try hard to enable std::to_chars() benchmarks | ||
|
|
be3e8f5d48 | [fix] atof()/atod(): prefer fastest implementation available | ||
|
|
e910e74add | [bm] default to no comparison with ryu or fp | ||
|
|
2daaff110d | [bm] make the itoa_threads benchmarks optional, default off | ||
|
|
982b04a17c | [bm] fix VS compile error in itoa_threads benchmark | ||
|
|
64f4901532 |
[chore] fix VS project folders for bm targets
[ci skip] |
||
|
|
5ea990c305 | [bm] add benchmark plots | ||
|
|
280a73e39e |
[bm] add benchmark to compare read_dec() approaches:
set -xe ; cd ~/proj/rapidyaml/ext/c4core/ ; cmany b -t Release -V C4CORE_DEV=ON c4core-bm-atox-{uint8,int8,uint16,int16,uint32,int32,uint64,int64}
+ cd /home/jpmag/proj/rapidyaml/ext/c4core/
+ cmany b -t Release -V C4CORE_DEV=ON c4core-bm-atox-uint8 c4core-bm-atox-int8 c4core-bm-atox-uint16 c4core-bm-atox-int16 c4core-bm-atox-uint32 c4core-bm-atox-int32 c4core-bm-atox-uint64 c4core-bm-atox-int64
-----------------------------------------------
Build linux-x86_64-gxx11.2-Release
-----------------------------------------------
Entering directory /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release (was in /home/jpmag/proj/rapidyaml/ext/c4core)
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && cmake -C /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/cmany_preload.cmake -G Unix\ Makefiles -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/jpmag/proj/rapidyaml/ext/c4core
--------
loading initial cache file /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/cmany_preload.cmake
-- cmany:preload----------------------
-- cmany: C4CORE_DEV=ON
-- cmany: CMAKE_BUILD_TYPE=Release
-- cmany: CMAKE_CXX_COMPILER=/usr/bin/c++
-- cmany: CMAKE_CXX_FLAGS= -m64
-- cmany: CMAKE_C_COMPILER=/usr/bin/cc
-- cmany: CMAKE_C_FLAGS= -m64
-- cmany: CMAKE_INSTALL_PREFIX=/home/jpmag/proj/rapidyaml/ext/c4core/install/linux-x86_64-gxx11.2-Release
-- cmany:preload----------------------
-- c4core: using C++ standard: C++20
-- c4core: setting C++ standard: 20
-- c4core: setting C++ standard required: ON
-- c4core: WERROR flags [Compile with warnings as errors]: -Werror;-pedantic-errors
-- c4core: STRICT_ALIASING flags [Enable strict aliasing]: -fstrict-aliasing
-- c4core: PEDANTIC flags [Compile in pedantic mode]: -Wall;-Wextra;-pedantic;-Wshadow;-Wnon-virtual-dtor;-Wcast-align;-Wunused;-Woverloaded-virtual;-Wpedantic;-Wconversion;-Wsign-conversion;-Wdouble-promotion;-Wfloat-equal;-Wformat=2;-Wlogical-op;-Wuseless-cast
-- c4core: testing requires doctest
-- c4core: doctest was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/test/ext/doctest/src"!
-- c4core: enabling benchmarks: to build, c4core-bm-build
-- c4core: enabling benchmarks: to run, c4core-bm-run
-- c4core: googlebenchmark was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/ext/googlebenchmark/src"!
-- LLVM FileCheck Found: /usr/bin/FileCheck
-- git version: v1.5.5 normalized to 1.5.5
-- Version: 1.5.5
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- c4core: importing subproject fp (REMOTE)... GIT_REPOSITORY;https://github.com/jk-jeon/fp;GIT_TAG;master
-- c4core: fp was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/subprojects/fp/src"!
-- c4core: ryu was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/extern/ryu/src"!
-- c4core: stb was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/extern/stb/src"!
-- c4core: importing subproject fmtlib (REMOTE)... GIT_REPOSITORY;https://github.com/fmtlib/fmt;GIT_TAG;8.1.1
-- c4core: fmtlib was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/subprojects/fmtlib/src"!
-- Module support is disabled.
-- Version: 8.1.1
-- Build type: Release
-- CXX_STANDARD: 20
-- Required features: cxx_variadic_templates
-- c4core: packing the project: TYPE;LIBRARY
-- c4core: cpack tag: v0.1.9-45-g1428977-bmplots
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-uint8
--------
Consolidate compiler generated dependencies of target c4core
Consolidate compiler generated dependencies of target benchmark
[ 33%] Built target c4core
[ 83%] Built target benchmark
Consolidate compiler generated dependencies of target c4core-bm-atox
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint8.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint8.json
2022-03-23T00:13:33+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4300.44 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 0.80, 1.05, 0.97
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
----------------------------------------------------------------------------------------------
unroll_switch_nocheck<uint8_t> 8392973 ns 8386211 ns 81 bytes_per_second=238.487M/s items_per_second=250.071M/s
unroll_switch<uint8_t> 10456104 ns 10448897 ns 67 bytes_per_second=191.408M/s items_per_second=200.706M/s
indexloop_restrictvar0<uint8_t> 12103472 ns 12094155 ns 58 bytes_per_second=165.369M/s items_per_second=173.402M/s
indexloop_restrictvar1<uint8_t> 11771205 ns 11762871 ns 59 bytes_per_second=170.027M/s items_per_second=178.286M/s
range_based_restrictvar0<uint8_t> 11965450 ns 11956624 ns 59 bytes_per_second=167.271M/s items_per_second=175.397M/s
range_based_restrictvar1<uint8_t> 12094350 ns 12084794 ns 58 bytes_per_second=165.497M/s items_per_second=173.536M/s
prefer_likely<uint8_t> 11915937 ns 11907887 ns 59 bytes_per_second=167.956M/s items_per_second=176.115M/s
no_early_return<uint8_t> 11870883 ns 11862498 ns 59 bytes_per_second=168.599M/s items_per_second=176.788M/s
no_early_return_auto_type<uint8_t> 11870134 ns 11861937 ns 59 bytes_per_second=168.607M/s items_per_second=176.797M/s
no_early_return_auto_type2<uint8_t> 11853827 ns 11846306 ns 59 bytes_per_second=168.829M/s items_per_second=177.03M/s
[100%] Built target c4core-bm-atox-uint8
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-int8
--------
[ 28%] Built target c4core
[ 71%] Built target benchmark
[ 85%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int8.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int8.json
2022-03-23T00:13:42+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4193.38 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.07, 1.10, 0.99
---------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
---------------------------------------------------------------------------------------------
unroll_switch_nocheck<int8_t> 7539946 ns 7534275 ns 92 bytes_per_second=265.454M/s items_per_second=278.348M/s
unroll_switch<int8_t> 8917795 ns 8911041 ns 78 bytes_per_second=224.441M/s items_per_second=235.343M/s
indexloop_restrictvar0<int8_t> 9686761 ns 9679325 ns 73 bytes_per_second=206.626M/s items_per_second=216.663M/s
indexloop_restrictvar1<int8_t> 9614853 ns 9607514 ns 73 bytes_per_second=208.17M/s items_per_second=218.282M/s
range_based_restrictvar0<int8_t> 9539157 ns 9531874 ns 73 bytes_per_second=209.822M/s items_per_second=220.015M/s
range_based_restrictvar1<int8_t> 9698901 ns 9691215 ns 72 bytes_per_second=206.372M/s items_per_second=216.397M/s
prefer_likely<int8_t> 9569631 ns 9561717 ns 74 bytes_per_second=209.167M/s items_per_second=219.328M/s
no_early_return<int8_t> 9689644 ns 9682294 ns 72 bytes_per_second=206.563M/s items_per_second=216.597M/s
no_early_return_auto_type<int8_t> 9517147 ns 9509993 ns 74 bytes_per_second=210.305M/s items_per_second=220.521M/s
no_early_return_auto_type2<int8_t> 9641973 ns 9634033 ns 73 bytes_per_second=207.597M/s items_per_second=217.682M/s
[100%] Built target c4core-bm-atox-int8
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-uint16
--------
-- c4core: using C++ standard: C++20
-- c4core: setting C++ standard: 20
-- c4core: setting C++ standard required: ON
-- c4core: WERROR flags [Compile with warnings as errors]: -Werror;-pedantic-errors
-- c4core: STRICT_ALIASING flags [Enable strict aliasing]: -fstrict-aliasing
-- c4core: PEDANTIC flags [Compile in pedantic mode]: -Wall;-Wextra;-pedantic;-Wshadow;-Wnon-virtual-dtor;-Wcast-align;-Wunused;-Woverloaded-virtual;-Wpedantic;-Wconversion;-Wsign-conversion;-Wdouble-promotion;-Wfloat-equal;-Wformat=2;-Wlogical-op;-Wuseless-cast
-- c4core: testing requires doctest
-- c4core: doctest was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/test/ext/doctest/src"!
-- c4core: enabling benchmarks: to build, c4core-bm-build
-- c4core: enabling benchmarks: to run, c4core-bm-run
-- c4core: googlebenchmark was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/ext/googlebenchmark/src"!
-- LLVM FileCheck Found: /usr/bin/FileCheck
-- git version: v1.5.5 normalized to 1.5.5
-- Version: 1.5.5
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- c4core: importing subproject fp (REMOTE)... GIT_REPOSITORY;https://github.com/jk-jeon/fp;GIT_TAG;master
-- c4core: fp was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/subprojects/fp/src"!
-- c4core: ryu was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/extern/ryu/src"!
-- c4core: stb was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/extern/stb/src"!
-- c4core: importing subproject fmtlib (REMOTE)... GIT_REPOSITORY;https://github.com/fmtlib/fmt;GIT_TAG;8.1.1
-- c4core: fmtlib was previously imported into this project - found at "/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/subprojects/fmtlib/src"!
-- Module support is disabled.
-- Version: 8.1.1
-- Build type: Release
-- CXX_STANDARD: 20
-- Required features: cxx_variadic_templates
-- c4core: packing the project: TYPE;LIBRARY
-- c4core: cpack tag: v0.1.9-45-g1428977-bmplots
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release
Consolidate compiler generated dependencies of target c4core
Consolidate compiler generated dependencies of target benchmark
[ 33%] Built target c4core
[ 83%] Built target benchmark
Consolidate compiler generated dependencies of target c4core-bm-atox
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint16.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint16.json
2022-03-23T00:13:50+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4394.25 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.15, 1.11, 1.00
-----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
-----------------------------------------------------------------------------------------------
unroll_switch_nocheck<uint16_t> 9436192 ns 9428794 ns 74 bytes_per_second=424.232M/s items_per_second=222.42M/s
unroll_switch<uint16_t> 10037432 ns 10028993 ns 71 bytes_per_second=398.844M/s items_per_second=209.109M/s
indexloop_restrictvar0<uint16_t> 9943620 ns 9935983 ns 70 bytes_per_second=402.577M/s items_per_second=211.066M/s
indexloop_restrictvar1<uint16_t> 9991532 ns 9983416 ns 70 bytes_per_second=400.664M/s items_per_second=210.064M/s
range_based_restrictvar0<uint16_t> 11058040 ns 11049474 ns 63 bytes_per_second=362.008M/s items_per_second=189.797M/s
range_based_restrictvar1<uint16_t> 11150938 ns 11142170 ns 63 bytes_per_second=358.997M/s items_per_second=188.218M/s
prefer_likely<uint16_t> 11245604 ns 11236812 ns 62 bytes_per_second=355.973M/s items_per_second=186.632M/s
no_early_return<uint16_t> 11055278 ns 11046419 ns 63 bytes_per_second=362.108M/s items_per_second=189.849M/s
no_early_return_auto_type<uint16_t> 11060052 ns 11051620 ns 63 bytes_per_second=361.938M/s items_per_second=189.76M/s
no_early_return_auto_type2<uint16_t> 11079854 ns 11071958 ns 63 bytes_per_second=361.273M/s items_per_second=189.411M/s
[100%] Built target c4core-bm-atox-uint16
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-int16
--------
[ 33%] Built target c4core
[ 83%] Built target benchmark
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int16.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int16.json
2022-03-23T00:13:59+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4329.79 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.28, 1.14, 1.01
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
----------------------------------------------------------------------------------------------
unroll_switch_nocheck<int16_t> 9383226 ns 9376817 ns 74 bytes_per_second=426.584M/s items_per_second=223.653M/s
unroll_switch<int16_t> 13055510 ns 13046631 ns 54 bytes_per_second=306.593M/s items_per_second=160.743M/s
indexloop_restrictvar0<int16_t> 13400903 ns 13391308 ns 52 bytes_per_second=298.701M/s items_per_second=156.605M/s
indexloop_restrictvar1<int16_t> 13341958 ns 13332213 ns 52 bytes_per_second=300.025M/s items_per_second=157.3M/s
range_based_restrictvar0<int16_t> 13257294 ns 13248344 ns 52 bytes_per_second=301.925M/s items_per_second=158.295M/s
range_based_restrictvar1<int16_t> 13117857 ns 13108410 ns 53 bytes_per_second=305.148M/s items_per_second=159.985M/s
prefer_likely<int16_t> 13308193 ns 13298247 ns 53 bytes_per_second=300.792M/s items_per_second=157.701M/s
no_early_return<int16_t> 13257837 ns 13247375 ns 53 bytes_per_second=301.947M/s items_per_second=158.307M/s
no_early_return_auto_type<int16_t> 13193600 ns 13183894 ns 46 bytes_per_second=303.4M/s items_per_second=159.069M/s
no_early_return_auto_type2<int16_t> 14056139 ns 14044784 ns 51 bytes_per_second=284.803M/s items_per_second=149.319M/s
[100%] Built target c4core-bm-atox-int16
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-uint32
--------
[ 33%] Built target c4core
[ 83%] Built target benchmark
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint32.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint32.json
2022-03-23T00:14:07+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4277.39 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.54, 1.21, 1.03
-----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
-----------------------------------------------------------------------------------------------
unroll_switch_nocheck<uint32_t> 11386586 ns 11376915 ns 62 bytes_per_second=703.178M/s items_per_second=184.334M/s
unroll_switch<uint32_t> 16897262 ns 16883326 ns 41 bytes_per_second=473.84M/s items_per_second=124.214M/s
indexloop_restrictvar0<uint32_t> 15914146 ns 15900501 ns 43 bytes_per_second=503.129M/s items_per_second=131.892M/s
indexloop_restrictvar1<uint32_t> 15952181 ns 15938034 ns 45 bytes_per_second=501.944M/s items_per_second=131.582M/s
range_based_restrictvar0<uint32_t> 15962152 ns 15949119 ns 44 bytes_per_second=501.595M/s items_per_second=131.49M/s
range_based_restrictvar1<uint32_t> 16065944 ns 16054218 ns 43 bytes_per_second=498.311M/s items_per_second=130.629M/s
prefer_likely<uint32_t> 16037178 ns 16024634 ns 44 bytes_per_second=499.231M/s items_per_second=130.871M/s
no_early_return<uint32_t> 16088801 ns 16075600 ns 44 bytes_per_second=497.649M/s items_per_second=130.456M/s
no_early_return_auto_type<uint32_t> 16136587 ns 16122695 ns 43 bytes_per_second=496.195M/s items_per_second=130.075M/s
no_early_return_auto_type2<uint32_t> 16222267 ns 16207546 ns 43 bytes_per_second=493.597M/s items_per_second=129.394M/s
[100%] Built target c4core-bm-atox-uint32
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-int32
--------
[ 33%] Built target c4core
[ 83%] Built target benchmark
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int32.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int32.json
2022-03-23T00:14:16+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4296.01 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.49, 1.20, 1.03
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
----------------------------------------------------------------------------------------------
unroll_switch_nocheck<int32_t> 14466587 ns 14455635 ns 48 bytes_per_second=553.417M/s items_per_second=145.075M/s
unroll_switch<int32_t> 20435481 ns 20422278 ns 34 bytes_per_second=391.729M/s items_per_second=102.689M/s
indexloop_restrictvar0<int32_t> 19313371 ns 19301110 ns 36 bytes_per_second=414.484M/s items_per_second=108.654M/s
indexloop_restrictvar1<int32_t> 18441923 ns 18430178 ns 38 bytes_per_second=434.071M/s items_per_second=113.789M/s
range_based_restrictvar0<int32_t> 18427086 ns 18414663 ns 38 bytes_per_second=434.436M/s items_per_second=113.885M/s
range_based_restrictvar1<int32_t> 18443435 ns 18431535 ns 38 bytes_per_second=434.039M/s items_per_second=113.781M/s
prefer_likely<int32_t> 18406958 ns 18395266 ns 37 bytes_per_second=434.895M/s items_per_second=114.005M/s
no_early_return<int32_t> 18948078 ns 18930050 ns 37 bytes_per_second=422.609M/s items_per_second=110.784M/s
no_early_return_auto_type<int32_t> 18603581 ns 18590095 ns 38 bytes_per_second=430.337M/s items_per_second=112.81M/s
no_early_return_auto_type2<int32_t> 18607525 ns 18594998 ns 38 bytes_per_second=430.223M/s items_per_second=112.78M/s
[100%] Built target c4core-bm-atox-int32
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-uint64
--------
[ 33%] Built target c4core
[ 83%] Built target benchmark
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint64.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-uint64.json
2022-03-23T00:14:25+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4342 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 1.42, 1.20, 1.03
-----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
-----------------------------------------------------------------------------------------------
unroll_switch_nocheck<uint64_t> 13176986 ns 13167678 ns 53 bytes_per_second=1.18662G/s items_per_second=159.265M/s
unroll_switch<uint64_t> 18494164 ns 18482311 ns 38 bytes_per_second=865.693M/s items_per_second=113.468M/s
indexloop_restrictvar0<uint64_t> 17573641 ns 17560898 ns 40 bytes_per_second=911.115M/s items_per_second=119.422M/s
indexloop_restrictvar1<uint64_t> 17270240 ns 17259526 ns 41 bytes_per_second=927.024M/s items_per_second=121.507M/s
range_based_restrictvar0<uint64_t> 17199046 ns 17188009 ns 41 bytes_per_second=930.882M/s items_per_second=122.013M/s
range_based_restrictvar1<uint64_t> 17075886 ns 17065445 ns 40 bytes_per_second=937.567M/s items_per_second=122.889M/s
prefer_likely<uint64_t> 17268703 ns 17257423 ns 41 bytes_per_second=927.137M/s items_per_second=121.522M/s
no_early_return<uint64_t> 17406670 ns 17393290 ns 40 bytes_per_second=919.895M/s items_per_second=120.572M/s
no_early_return_auto_type<uint64_t> 16553888 ns 16543145 ns 42 bytes_per_second=967.168M/s items_per_second=126.769M/s
no_early_return_auto_type2<uint64_t> 17869719 ns 17857090 ns 39 bytes_per_second=896.003M/s items_per_second=117.441M/s
[100%] Built target c4core-bm-atox-uint64
--------
$ cd /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release && make -j 20 c4core-bm-atox-int64
--------
[ 33%] Built target c4core
[ 83%] Built target benchmark
[100%] Built target c4core-bm-atox
[100%] c4core: running benchmark c4core-bm-atox, case c4core-bm-atox-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int64.json
/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/c4core-bm-atox-0.1.9 --benchmark_filter=^.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release/bm/bm-results/c4core-bm-atox-int64.json
2022-03-23T00:14:34+00:00
Running ./c4core-bm-atox-0.1.9
Run on (20 X 4374.04 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x10)
L1 Instruction 32 KiB (x10)
L2 Unified 1024 KiB (x10)
L3 Unified 19712 KiB (x1)
Load Average: 2.79, 1.49, 1.12
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
----------------------------------------------------------------------------------------------
unroll_switch_nocheck<int64_t> 12815077 ns 12804375 ns 55 bytes_per_second=1.22029G/s items_per_second=163.784M/s
unroll_switch<int64_t> 18745584 ns 18730907 ns 37 bytes_per_second=854.203M/s items_per_second=111.962M/s
indexloop_restrictvar0<int64_t> 17557627 ns 17544930 ns 40 bytes_per_second=911.944M/s items_per_second=119.53M/s
indexloop_restrictvar1<int64_t> 17155850 ns 17142421 ns 41 bytes_per_second=933.357M/s items_per_second=122.337M/s
range_based_restrictvar0<int64_t> 17599406 ns 17586218 ns 40 bytes_per_second=909.803M/s items_per_second=119.25M/s
range_based_restrictvar1<int64_t> 16844522 ns 16831810 ns 41 bytes_per_second=950.581M/s items_per_second=124.595M/s
prefer_likely<int64_t> 17272667 ns 17259154 ns 40 bytes_per_second=927.044M/s items_per_second=121.51M/s
no_early_return<int64_t> 17465586 ns 17452133 ns 40 bytes_per_second=916.793M/s items_per_second=120.166M/s
no_early_return_auto_type<int64_t> 17617614 ns 17603858 ns 39 bytes_per_second=908.892M/s items_per_second=119.13M/s
no_early_return_auto_type2<int64_t> 17192851 ns 17179817 ns 41 bytes_per_second=931.325M/s items_per_second=122.071M/s
[100%] Built target c4core-bm-atox-int64
Returning to directory /home/jpmag/proj/rapidyaml/ext/c4core (currently in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.2-Release)
Build: finished building (1m 10s): linux-x86_64-gxx11.2-Release
-----------------------------------------------
|
||
|
|
a0cd4d3500 | [bm] add charconv threads benchmark | ||
|
|
d4345f90bb | [bm] improve charconv benchmarks | ||
|
|
d4d4238ae9 | [refac] improve performance of xtoa functions | ||
|
|
a01ead46ad | [bm] ensure atox benchmarks are not optimized out | ||
|
|
f409b86aef |
[wip] xtoa: improve ~10%-20% by returning early if the buffer does not...
if the buffer does not accept the type's max. before: ```console [ 58%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json 2022-03-03T02:25:46+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 4238.88 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.01, 1.01, 0.96 ----------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------- atox_c4_atod<double> 263044 ns 262991 ns 2659 bytes_per_second=475.302M/s items_per_second=62.2988M/s atox_c4_atox<double> 255187 ns 255131 ns 2744 bytes_per_second=489.944M/s items_per_second=64.218M/s atox_c4_from_chars<double> 261700 ns 261648 ns 2678 bytes_per_second=477.741M/s items_per_second=62.6185M/s atox_ryu_s2d<double> 399245 ns 399150 ns 1754 bytes_per_second=313.166M/s items_per_second=41.0473M/s atox_fast_float<double> 261754 ns 261692 ns 2670 bytes_per_second=477.66M/s items_per_second=62.6079M/s atox_fp_from_chars_limited<double> 7615 ns 7613 ns 92489 bytes_per_second=16.035G/s items_per_second=2.15218G/s atox_fp_from_chars_unlimited<double> 7605 ns 7603 ns 92081 bytes_per_second=16.0551G/s items_per_second=2.15488G/s atox_std_atof<double> 1432788 ns 1432461 ns 488 bytes_per_second=87.2624M/s items_per_second=11.4377M/s atox_std_strtod<double> 1418916 ns 1418555 ns 493 bytes_per_second=88.1178M/s items_per_second=11.5498M/s atox_std_stod<double> 1441197 ns 1440513 ns 491 bytes_per_second=86.7746M/s items_per_second=11.3737M/s atox_scanf<double> 2561517 ns 2560682 ns 269 bytes_per_second=48.8151M/s items_per_second=6.3983M/s atox_sstream_reuse<double> 3024528 ns 3023525 ns 232 bytes_per_second=41.3425M/s items_per_second=5.41884M/s atox_sstream<double> 6949585 ns 6947459 ns 101 bytes_per_second=17.9922M/s items_per_second=2.35827M/s [ 58%] Built target c4core-bm-charconv-atox-double Consolidate compiler generated dependencies of target c4core-bm-format [ 60%] Building CXX object bm/CMakeFiles/c4core-bm-format.dir/bm_format.cpp.o [ 60%] Linking CXX executable c4core-bm-format [ 60%] Built target c4core-bm-format [ 60%] Built target c4core-bm-build [ 63%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-cat: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^cat_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json 2022-03-03T02:26:03+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1520.66 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.15, 1.04, 0.98 ------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------- cat_c4cat_substr 61.3 ns 61.3 ns 11360069 bytes_per_second=1.20074G/s items_per_second=16.3201M/s cat_c4catrs_reuse 49.6 ns 49.6 ns 14087912 bytes_per_second=1.48285G/s items_per_second=20.1544M/s cat_c4catrs_no_reuse 95.6 ns 95.6 ns 7310399 bytes_per_second=788.017M/s items_per_second=10.4594M/s cat_c4catdump_c_style_static_dispatch 179 ns 178 ns 3716687 bytes_per_second=422.174M/s items_per_second=5.60356M/s cat_c4catdump_c_style_dynamic_dispatch 177 ns 177 ns 5596450 bytes_per_second=280.311M/s items_per_second=5.65244M/s cat_c4catdump_cpp_style 185 ns 185 ns 4609259 bytes_per_second=268.452M/s items_per_second=5.41332M/s cat_c4catdump_lambda_style 183 ns 183 ns 4621599 bytes_per_second=270.902M/s items_per_second=5.46272M/s cat_std_to_string_reuse 153 ns 153 ns 4581709 bytes_per_second=491.202M/s items_per_second=6.51978M/s cat_std_to_string_no_reuse 193 ns 192 ns 3601695 bytes_per_second=391.386M/s items_per_second=5.19491M/s cat_stdsstream_reuse 284 ns 284 ns 2468166 bytes_per_second=265.721M/s items_per_second=3.52695M/s cat_stdsstream_no_reuse 571 ns 571 ns 1229721 bytes_per_second=132.021M/s items_per_second=1.75233M/s [ 63%] Built target c4core-bm-format-cat [ 63%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsep: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catsep_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json 2022-03-03T02:26:13+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1471.66 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.13, 1.04, 0.98 ---------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------------- catsep_c4cat_substr 91.5 ns 91.5 ns 7621845 bytes_per_second=938.158M/s items_per_second=10.9303M/s catsep_c4catrs_reuse 80.7 ns 80.7 ns 8623610 bytes_per_second=1063.8M/s items_per_second=12.3942M/s catsep_c4catrs_no_reuse 147 ns 147 ns 4755057 bytes_per_second=931.972M/s items_per_second=6.78641M/s catsep_c4catdump_c_style_static_dispatch 334 ns 334 ns 2387518 bytes_per_second=257.115M/s items_per_second=2.9956M/s catsep_c4catdump_c_style_dynamic_dispatch 333 ns 329 ns 3526566 bytes_per_second=150.779M/s items_per_second=3.04046M/s catsep_c4catdump_cpp_style 289 ns 289 ns 2234713 bytes_per_second=171.409M/s items_per_second=3.45645M/s catsep_c4catdump_lambda_style 259 ns 259 ns 2987846 bytes_per_second=191.601M/s items_per_second=3.86362M/s catsep_std_to_string_reuse 212 ns 212 ns 3294357 bytes_per_second=692.568M/s items_per_second=4.71565M/s catsep_std_to_string_no_reuse 285 ns 285 ns 2477547 bytes_per_second=515.498M/s items_per_second=3.51M/s catsep_stdsstream_reuse 309 ns 309 ns 2286962 bytes_per_second=274.596M/s items_per_second=3.23522M/s catsep_stdsstream_no_reuse 585 ns 585 ns 1194182 bytes_per_second=145.127M/s items_per_second=1.70986M/s [ 63%] Built target c4core-bm-format-catsep [ 65%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-format: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^format_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json 2022-03-03T02:26:24+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1219.34 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.11, 1.03, 0.98 ------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------------- format_c4format 205 ns 205 ns 3411939 bytes_per_second=1014.02M/s items_per_second=4.87743M/s format_c4formatrs_reuse 208 ns 208 ns 3358511 bytes_per_second=999.222M/s items_per_second=4.80624M/s format_c4formatrs_no_reuse 421 ns 421 ns 1664159 bytes_per_second=493.633M/s items_per_second=2.37437M/s format_c4formatdump_c_style_static_dispatch 387 ns 387 ns 1640998 bytes_per_second=537M/s items_per_second=2.58296M/s format_c4formatdump_c_style_dynamic_dispatch 330 ns 330 ns 2115253 bytes_per_second=630.906M/s items_per_second=3.03465M/s format_c4formatdump_cpp_style 465 ns 465 ns 1610293 bytes_per_second=447.523M/s items_per_second=2.15258M/s format_c4formatdump_lambda_style 463 ns 462 ns 1619195 bytes_per_second=449.559M/s items_per_second=2.16237M/s format_snprintf 382 ns 382 ns 1831298 bytes_per_second=544.392M/s items_per_second=2.61851M/s [ 65%] Built target c4core-bm-format-format [ 68%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json 2022-03-03T02:26:33+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1788.28 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.09, 1.03, 0.98 ----------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------- catfile_c4catdump_c_style_static_dispatch 262 ns 262 ns 2676730 bytes_per_second=287.316M/s items_per_second=3.81357M/s catfile_c4catdump_c_style_dynamic_dispatch 261 ns 261 ns 2676165 bytes_per_second=288.277M/s items_per_second=3.82633M/s catfile_c4catdump_cpp_style 261 ns 261 ns 2690331 bytes_per_second=190.246M/s items_per_second=3.83629M/s catfile_c4catdump_lambda_style 261 ns 261 ns 2684551 bytes_per_second=190.242M/s items_per_second=3.83621M/s catfile_fprintf 497 ns 497 ns 1408672 bytes_per_second=151.679M/s items_per_second=2.01326M/s catfile_ofstream 358 ns 357 ns 1935613 bytes_per_second=210.84M/s items_per_second=2.79851M/s [ 68%] Built target c4core-bm-format-catfile [ 70%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsepfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catsepfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json 2022-03-03T02:26:40+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1244.46 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.08, 1.03, 0.98 ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- catsepfile_c4catsepdump_c_style_static_dispatch 446 ns 446 ns 1573179 bytes_per_second=308.239M/s items_per_second=2.24452M/s catsepfile_c4catsepdump_c_style_dynamic_dispatch 444 ns 444 ns 1579633 bytes_per_second=309.462M/s items_per_second=2.25343M/s catsepfile_c4catsepdump_cpp_style 450 ns 450 ns 1565321 bytes_per_second=305.276M/s items_per_second=2.22295M/s catsepfile_c4catsepdump_lambda_style 447 ns 447 ns 1563892 bytes_per_second=307.274M/s items_per_second=2.2375M/s catsepfile_fprintf 777 ns 777 ns 910562 bytes_per_second=176.719M/s items_per_second=1.28683M/s catsepfile_ofstream 535 ns 535 ns 1320107 bytes_per_second=256.856M/s items_per_second=1.87037M/s [ 70%] Built target c4core-bm-format-catsepfile [ 70%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-formatfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^formatfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json 2022-03-03T02:26:48+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 2228.16 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.07, 1.03, 0.98 ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- formatfile_c4formatdump_c_style_static_dispatch 595 ns 595 ns 1173170 bytes_per_second=349.654M/s items_per_second=1.68183M/s formatfile_c4formatdump_c_style_dynamic_dispatch 612 ns 612 ns 1140707 bytes_per_second=339.702M/s items_per_second=1.63396M/s formatfile_c4formatdump_cpp_style 603 ns 603 ns 1168622 bytes_per_second=345.028M/s items_per_second=1.65958M/s formatfile_c4formatdump_lambda_style 606 ns 606 ns 1161020 bytes_per_second=343.1M/s items_per_second=1.6503M/s formatfile_fprintf 497 ns 497 ns 1421349 bytes_per_second=418.304M/s items_per_second=2.01203M/s [ 70%] Built target c4core-bm-format-formatfile [ 70%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json 2022-03-03T02:26:53+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2379.62 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.06, 1.03, 0.98 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint8_t> 33569 ns 33558 ns 20762 bytes_per_second=465.614M/s items_per_second=488.231M/s xtoa_c4_write_hex<uint8_t> 26192 ns 26183 ns 26842 bytes_per_second=596.763M/s items_per_second=625.751M/s xtoa_c4_write_oct<uint8_t> 26137 ns 26128 ns 26847 bytes_per_second=598.011M/s items_per_second=627.06M/s xtoa_c4_write_bin<uint8_t> 37357 ns 37345 ns 18780 bytes_per_second=418.396M/s items_per_second=438.72M/s xtoa_c4_utoa<uint8_t> 39701 ns 39687 ns 17675 bytes_per_second=393.704M/s items_per_second=412.829M/s xtoa_c4_xtoa<uint8_t> 70431 ns 70407 ns 9942 bytes_per_second=221.925M/s items_per_second=232.705M/s xtoa_c4_to_chars<uint8_t> 39786 ns 39771 ns 17616 bytes_per_second=392.87M/s items_per_second=411.954M/s xtoa_std_to_chars<uint8_t> 18881 ns 18874 ns 37134 bytes_per_second=827.862M/s items_per_second=868.076M/s xtoa_std_to_string<uint8_t> 89830 ns 89793 ns 7756 bytes_per_second=174.011M/s items_per_second=182.463M/s xtoa_sprintf<uint8_t> 730939 ns 730702 ns 957 bytes_per_second=21.3836M/s items_per_second=22.4223M/s xtoa_sstream_reuse<uint8_t> 443546 ns 443400 ns 1576 bytes_per_second=35.2391M/s items_per_second=36.9508M/s xtoa_sstream<uint8_t> 4092585 ns 4091274 ns 171 bytes_per_second=3.8191M/s items_per_second=4.00462M/s [ 70%] Built target c4core-bm-charconv-xtoa-uint8 [ 73%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json 2022-03-03T02:27:05+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1293.14 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.05, 1.03, 0.98 ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_write_dec<int8_t> 37354 ns 37340 ns 18677 bytes_per_second=418.457M/s items_per_second=438.784M/s xtoa_c4_write_hex<int8_t> 26118 ns 26109 ns 26641 bytes_per_second=598.453M/s items_per_second=627.524M/s xtoa_c4_write_oct<int8_t> 26222 ns 26213 ns 26811 bytes_per_second=596.09M/s items_per_second=625.045M/s xtoa_c4_write_bin<int8_t> 37639 ns 37625 ns 18567 bytes_per_second=415.279M/s items_per_second=435.452M/s xtoa_c4_itoa<int8_t> 44845 ns 44830 ns 15580 bytes_per_second=348.54M/s items_per_second=365.47M/s xtoa_c4_xtoa<int8_t> 74614 ns 74589 ns 9354 bytes_per_second=209.483M/s items_per_second=219.658M/s xtoa_c4_to_chars<int8_t> 33579 ns 33568 ns 20836 bytes_per_second=465.47M/s items_per_second=488.08M/s xtoa_std_to_chars<int8_t> 22469 ns 22461 ns 31311 bytes_per_second=695.636M/s items_per_second=729.427M/s xtoa_std_to_string<int8_t> 96118 ns 96082 ns 7299 bytes_per_second=162.621M/s items_per_second=170.52M/s xtoa_sprintf<int8_t> 708449 ns 708216 ns 975 bytes_per_second=22.0625M/s items_per_second=23.1342M/s xtoa_sstream_reuse<int8_t> 441097 ns 440953 ns 1592 bytes_per_second=35.4346M/s items_per_second=37.1559M/s xtoa_sstream<int8_t> 4122007 ns 4120662 ns 170 bytes_per_second=3.79187M/s items_per_second=3.97606M/s [ 73%] Built target c4core-bm-charconv-xtoa-int8 [ 73%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json 2022-03-03T02:27:17+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1209.96 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.12, 1.04, 0.99 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint16_t> 30624 ns 30612 ns 23093 bytes_per_second=1020.85M/s items_per_second=535.219M/s xtoa_c4_write_hex<uint16_t> 26659 ns 26644 ns 26222 bytes_per_second=1.14536G/s items_per_second=614.913M/s xtoa_c4_write_oct<uint16_t> 26298 ns 26288 ns 26738 bytes_per_second=1.16091G/s items_per_second=623.257M/s xtoa_c4_write_bin<uint16_t> 38222 ns 38197 ns 18528 bytes_per_second=818.124M/s items_per_second=428.933M/s xtoa_c4_utoa<uint16_t> 33138 ns 33119 ns 22766 bytes_per_second=943.56M/s items_per_second=494.697M/s xtoa_c4_xtoa<uint16_t> 132549 ns 132493 ns 5296 bytes_per_second=235.861M/s items_per_second=123.659M/s xtoa_c4_to_chars<uint16_t> 30686 ns 30674 ns 22985 bytes_per_second=1018.76M/s items_per_second=534.126M/s xtoa_std_to_chars<uint16_t> 21203 ns 21195 ns 32957 bytes_per_second=1.43982G/s items_per_second=772.997M/s xtoa_std_to_string<uint16_t> 98299 ns 98268 ns 7082 bytes_per_second=318.008M/s items_per_second=166.728M/s xtoa_sprintf<uint16_t> 697992 ns 697773 ns 1008 bytes_per_second=44.7853M/s items_per_second=23.4804M/s xtoa_sstream_reuse<uint16_t> 552158 ns 551987 ns 1259 bytes_per_second=56.6136M/s items_per_second=29.6819M/s xtoa_sstream<uint16_t> 4166627 ns 4165346 ns 168 bytes_per_second=7.50238M/s items_per_second=3.93341M/s [ 73%] Built target c4core-bm-charconv-xtoa-uint16 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json 2022-03-03T02:27:29+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2396.83 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.10, 1.04, 0.99 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int16_t> 37357 ns 37345 ns 18667 bytes_per_second=836.802M/s items_per_second=438.725M/s xtoa_c4_write_hex<int16_t> 29927 ns 29917 ns 23430 bytes_per_second=1044.55M/s items_per_second=547.644M/s xtoa_c4_write_oct<int16_t> 26165 ns 26157 ns 26824 bytes_per_second=1.16671G/s items_per_second=626.373M/s xtoa_c4_write_bin<int16_t> 26202 ns 26193 ns 26807 bytes_per_second=1.16509G/s items_per_second=625.504M/s xtoa_c4_itoa<int16_t> 33697 ns 33686 ns 20804 bytes_per_second=927.676M/s items_per_second=486.369M/s xtoa_c4_xtoa<int16_t> 114797 ns 114757 ns 6135 bytes_per_second=272.314M/s items_per_second=142.771M/s xtoa_c4_to_chars<int16_t> 33709 ns 33698 ns 20673 bytes_per_second=927.355M/s items_per_second=486.201M/s xtoa_std_to_chars<int16_t> 18715 ns 18709 ns 37422 bytes_per_second=1.63117G/s items_per_second=875.728M/s xtoa_std_to_string<int16_t> 95161 ns 95128 ns 7337 bytes_per_second=328.504M/s items_per_second=172.231M/s xtoa_sprintf<int16_t> 708308 ns 708072 ns 980 bytes_per_second=44.1339M/s items_per_second=23.1389M/s xtoa_sstream_reuse<int16_t> 583753 ns 583569 ns 1193 bytes_per_second=53.5498M/s items_per_second=28.0755M/s xtoa_sstream<int16_t> 4410712 ns 4409175 ns 159 bytes_per_second=7.08749M/s items_per_second=3.71589M/s [ 75%] Built target c4core-bm-charconv-xtoa-int16 [ 78%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json 2022-03-03T02:27:40+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1226.52 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.08, 1.04, 0.99 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint32_t> 33596 ns 33584 ns 20775 bytes_per_second=1.81736G/s items_per_second=487.845M/s xtoa_c4_write_hex<uint32_t> 26161 ns 26153 ns 26591 bytes_per_second=2.33379G/s items_per_second=626.473M/s xtoa_c4_write_oct<uint32_t> 26545 ns 26534 ns 26796 bytes_per_second=2.30028G/s items_per_second=617.477M/s xtoa_c4_write_bin<uint32_t> 37426 ns 37413 ns 18580 bytes_per_second=1.6314G/s items_per_second=437.925M/s xtoa_c4_utoa<uint32_t> 33613 ns 33601 ns 20829 bytes_per_second=1.81648G/s items_per_second=487.607M/s xtoa_c4_xtoa<uint32_t> 228180 ns 228101 ns 3055 bytes_per_second=274.002M/s items_per_second=71.8279M/s xtoa_c4_to_chars<uint32_t> 33634 ns 33623 ns 20805 bytes_per_second=1.81529G/s items_per_second=487.288M/s xtoa_std_to_chars<uint32_t> 18717 ns 18711 ns 37009 bytes_per_second=3.26207G/s items_per_second=875.656M/s xtoa_std_to_string<uint32_t> 100984 ns 100949 ns 6967 bytes_per_second=619.125M/s items_per_second=162.3M/s xtoa_sprintf<uint32_t> 729651 ns 729413 ns 958 bytes_per_second=85.6853M/s items_per_second=22.4619M/s xtoa_sstream_reuse<uint32_t> 572512 ns 572335 ns 1218 bytes_per_second=109.202M/s items_per_second=28.6266M/s xtoa_sstream<uint32_t> 4396973 ns 4395271 ns 162 bytes_per_second=14.2198M/s items_per_second=3.72764M/s [ 78%] Built target c4core-bm-charconv-xtoa-uint32 [ 78%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json 2022-03-03T02:27:52+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2176.6 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.07, 1.04, 0.99 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int32_t> 37766 ns 37752 ns 18532 bytes_per_second=1.61676G/s items_per_second=433.996M/s xtoa_c4_write_hex<int32_t> 37408 ns 37396 ns 18696 bytes_per_second=1.63215G/s items_per_second=438.126M/s xtoa_c4_write_oct<int32_t> 37666 ns 37653 ns 18656 bytes_per_second=1.621G/s items_per_second=435.134M/s xtoa_c4_write_bin<int32_t> 26287 ns 26279 ns 26538 bytes_per_second=2.32262G/s items_per_second=623.474M/s xtoa_c4_itoa<int32_t> 37460 ns 37448 ns 18718 bytes_per_second=1.62984G/s items_per_second=437.508M/s xtoa_c4_xtoa<int32_t> 200376 ns 200312 ns 3506 bytes_per_second=312.013M/s items_per_second=81.7923M/s xtoa_c4_to_chars<int32_t> 37486 ns 37474 ns 18683 bytes_per_second=1.62874G/s items_per_second=437.211M/s xtoa_std_to_chars<int32_t> 22411 ns 22403 ns 31105 bytes_per_second=2.7244G/s items_per_second=731.326M/s xtoa_std_to_string<int32_t> 99096 ns 99066 ns 7048 bytes_per_second=630.894M/s items_per_second=165.385M/s xtoa_sprintf<int32_t> 723102 ns 722884 ns 968 bytes_per_second=86.4593M/s items_per_second=22.6648M/s xtoa_sstream_reuse<int32_t> 592179 ns 592012 ns 1187 bytes_per_second=105.572M/s items_per_second=27.6751M/s xtoa_sstream<int32_t> 4212627 ns 4211348 ns 166 bytes_per_second=14.8409M/s items_per_second=3.89044M/s [ 78%] Built target c4core-bm-charconv-xtoa-int32 [ 80%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json 2022-03-03T02:28:04+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1993.82 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.14, 1.05, 1.00 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint64_t> 33608 ns 33597 ns 20828 bytes_per_second=3.63337G/s items_per_second=487.663M/s xtoa_c4_write_hex<uint64_t> 29833 ns 29824 ns 23438 bytes_per_second=4.09307G/s items_per_second=549.363M/s xtoa_c4_write_oct<uint64_t> 26154 ns 26145 ns 26808 bytes_per_second=4.66888G/s items_per_second=626.647M/s xtoa_c4_write_bin<uint64_t> 26083 ns 26073 ns 26834 bytes_per_second=4.68182G/s items_per_second=628.383M/s xtoa_c4_utoa<uint64_t> 33596 ns 33585 ns 20855 bytes_per_second=3.63468G/s items_per_second=487.839M/s xtoa_c4_xtoa<uint64_t> 227186 ns 227109 ns 3071 bytes_per_second=550.397M/s items_per_second=72.1417M/s xtoa_c4_to_chars<uint64_t> 33862 ns 33850 ns 20820 bytes_per_second=3.60617G/s items_per_second=484.013M/s xtoa_std_to_chars<uint64_t> 21284 ns 21276 ns 32579 bytes_per_second=5.7374G/s items_per_second=770.061M/s xtoa_std_to_string<uint64_t> 85455 ns 85426 ns 8192 bytes_per_second=1.42897G/s items_per_second=191.793M/s xtoa_sprintf<uint64_t> 731101 ns 730855 ns 957 bytes_per_second=171.032M/s items_per_second=22.4176M/s xtoa_sstream_reuse<uint64_t> 557016 ns 556849 ns 1256 bytes_per_second=224.477M/s items_per_second=29.4227M/s xtoa_sstream<uint64_t> 4180651 ns 4179249 ns 167 bytes_per_second=29.9097M/s items_per_second=3.92032M/s [ 80%] Built target c4core-bm-charconv-xtoa-uint64 [ 82%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json 2022-03-03T02:28:16+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1249.43 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.17, 1.06, 1.00 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int64_t> 52167 ns 52149 ns 13361 bytes_per_second=2.34079G/s items_per_second=314.175M/s xtoa_c4_write_hex<int64_t> 26125 ns 26116 ns 26829 bytes_per_second=4.6742G/s items_per_second=627.361M/s xtoa_c4_write_oct<int64_t> 26531 ns 26520 ns 26652 bytes_per_second=4.60291G/s items_per_second=617.792M/s xtoa_c4_write_bin<int64_t> 37727 ns 37713 ns 18569 bytes_per_second=3.23683G/s items_per_second=434.44M/s xtoa_c4_itoa<int64_t> 44807 ns 44792 ns 15601 bytes_per_second=2.72528G/s items_per_second=365.781M/s xtoa_c4_xtoa<int64_t> 222619 ns 222545 ns 3145 bytes_per_second=561.685M/s items_per_second=73.6212M/s xtoa_c4_to_chars<int64_t> 37934 ns 37921 ns 18414 bytes_per_second=3.21911G/s items_per_second=432.061M/s xtoa_std_to_chars<int64_t> 22791 ns 22781 ns 30721 bytes_per_second=5.3584G/s items_per_second=719.192M/s xtoa_std_to_string<int64_t> 91448 ns 91415 ns 7607 bytes_per_second=1.33535G/s items_per_second=179.227M/s xtoa_sprintf<int64_t> 739476 ns 739222 ns 948 bytes_per_second=169.097M/s items_per_second=22.1638M/s xtoa_sstream_reuse<int64_t> 578427 ns 578198 ns 1198 bytes_per_second=216.189M/s items_per_second=28.3363M/s xtoa_sstream<int64_t> 4435022 ns 4432992 ns 157 bytes_per_second=28.1977M/s items_per_second=3.69592M/s [ 82%] Built target c4core-bm-charconv-xtoa-int64 [ 85%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json 2022-03-03T02:28:27+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 4299.81 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.15, 1.06, 1.00 ------------------------------------------------------------------------------------ Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------ xtoa_c4_ftoa<float> 2730717 ns 2729443 ns 250 bytes_per_second=22.8984M/s items_per_second=6.00269M/s xtoa_c4_xtoa<float> 2912526 ns 2910559 ns 258 bytes_per_second=21.4735M/s items_per_second=5.62916M/s xtoa_c4_to_chars<float> 2721064 ns 2719806 ns 254 bytes_per_second=22.9796M/s items_per_second=6.02396M/s xtoa_ryu_f2s<float> 45561 ns 45542 ns 15363 bytes_per_second=1.3402G/s items_per_second=359.756M/s xtoa_std_to_string<float> 2144371 ns 2143564 ns 328 bytes_per_second=29.157M/s items_per_second=7.64334M/s xtoa_sprintf<float> 1750491 ns 1749777 ns 398 bytes_per_second=35.7188M/s items_per_second=9.36348M/s xtoa_sstream_reuse<float> 3017157 ns 3015992 ns 232 bytes_per_second=20.7229M/s items_per_second=5.43238M/s xtoa_sstream<float> 6905698 ns 6902704 ns 102 bytes_per_second=9.05442M/s items_per_second=2.37356M/s [ 85%] Built target c4core-bm-charconv-xtoa-float [ 85%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json 2022-03-03T02:28:35+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3878.51 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.20, 1.08, 1.01 ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_dtoa<double> 2810068 ns 2808353 ns 249 bytes_per_second=44.5101M/s items_per_second=5.83402M/s xtoa_c4_xtoa<double> 2841576 ns 2839758 ns 245 bytes_per_second=44.0178M/s items_per_second=5.7695M/s xtoa_c4_to_chars<double> 2818650 ns 2816864 ns 249 bytes_per_second=44.3756M/s items_per_second=5.8164M/s xtoa_ryu_d2s<double> 51267 ns 51240 ns 13512 bytes_per_second=2.38231G/s items_per_second=319.748M/s xtoa_std_to_string<double> 2094063 ns 2093176 ns 331 bytes_per_second=59.7179M/s items_per_second=7.82734M/s xtoa_sprintf<double> 1773144 ns 1772349 ns 395 bytes_per_second=70.5279M/s items_per_second=9.24423M/s xtoa_sstream_reuse<double> 3145295 ns 3144076 ns 211 bytes_per_second=39.7573M/s items_per_second=5.21107M/s xtoa_sstream<double> 7085472 ns 7082672 ns 100 bytes_per_second=17.6487M/s items_per_second=2.31325M/s [ 85%] Built target c4core-bm-charconv-xtoa-double [ 87%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json 2022-03-03T02:28:43+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3991.06 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.19, 1.07, 1.01 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<uint8_t> 7547 ns 7544 ns 93051 bytes_per_second=2.02271G/s items_per_second=2.17187G/s atox_c4_read_hex<uint8_t> 7554 ns 7551 ns 94059 bytes_per_second=2.02089G/s items_per_second=2.16991G/s atox_c4_read_oct<uint8_t> 7626 ns 7622 ns 91716 bytes_per_second=2.00182G/s items_per_second=2.14944G/s atox_c4_read_bin<uint8_t> 7546 ns 7543 ns 91689 bytes_per_second=2.02288G/s items_per_second=2.17205G/s atox_c4_atou<uint8_t> 22366 ns 22358 ns 31410 bytes_per_second=698.867M/s items_per_second=732.815M/s atox_c4_atox<uint8_t> 22131 ns 22122 ns 31396 bytes_per_second=706.303M/s items_per_second=740.612M/s atox_c4_from_chars<uint8_t> 22178 ns 22170 ns 31446 bytes_per_second=704.781M/s items_per_second=739.017M/s atox_std_from_chars<uint8_t> 22981 ns 22972 ns 30493 bytes_per_second=680.175M/s items_per_second=713.215M/s atox_std_atoi<uint8_t> 223094 ns 222991 ns 3128 bytes_per_second=70.0699M/s items_per_second=73.4737M/s atox_std_strtoul<uint8_t> 220350 ns 220264 ns 3188 bytes_per_second=70.9376M/s items_per_second=74.3835M/s atox_scanf<uint8_t> 1122736 ns 1122318 ns 618 bytes_per_second=13.9221M/s items_per_second=14.5984M/s atox_sstream_reuse<uint8_t> 289802 ns 289682 ns 2411 bytes_per_second=53.9385M/s items_per_second=56.5586M/s atox_sstream<uint8_t> 3828679 ns 3827315 ns 182 bytes_per_second=4.0825M/s items_per_second=4.28081M/s [ 87%] Built target c4core-bm-charconv-atox-uint8 [ 90%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json 2022-03-03T02:28:55+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1256.44 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.16, 1.07, 1.01 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<int8_t> 7487 ns 7484 ns 93302 bytes_per_second=2.03891G/s items_per_second=2.18926G/s atox_c4_read_hex<int8_t> 7489 ns 7486 ns 92630 bytes_per_second=2.03832G/s items_per_second=2.18863G/s atox_c4_read_oct<int8_t> 7476 ns 7474 ns 93998 bytes_per_second=2.0417G/s items_per_second=2.19226G/s atox_c4_read_bin<int8_t> 7523 ns 7520 ns 93097 bytes_per_second=2.0291G/s items_per_second=2.17873G/s atox_c4_atoi<int8_t> 22123 ns 22115 ns 31625 bytes_per_second=706.532M/s items_per_second=740.853M/s atox_c4_atox<int8_t> 22073 ns 22065 ns 31683 bytes_per_second=708.141M/s items_per_second=742.539M/s atox_c4_from_chars<int8_t> 22066 ns 22058 ns 31736 bytes_per_second=708.346M/s items_per_second=742.754M/s atox_std_from_chars<int8_t> 22756 ns 22748 ns 30775 bytes_per_second=686.888M/s items_per_second=720.254M/s atox_std_atoi<int8_t> 195570 ns 195500 ns 3550 bytes_per_second=79.9232M/s items_per_second=83.8056M/s atox_std_strtol<int8_t> 191609 ns 191530 ns 3646 bytes_per_second=81.5801M/s items_per_second=85.5429M/s atox_scanf<int8_t> 1014233 ns 1013847 ns 689 bytes_per_second=15.4116M/s items_per_second=16.1602M/s atox_sstream_reuse<int8_t> 286869 ns 286758 ns 2447 bytes_per_second=54.4885M/s items_per_second=57.1353M/s atox_sstream<int8_t> 4110980 ns 4109023 ns 169 bytes_per_second=3.80261M/s items_per_second=3.98732M/s [ 90%] Built target c4core-bm-charconv-atox-int8 [ 92%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json 2022-03-03T02:29:07+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1261.17 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.20, 1.08, 1.01 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint16_t> 7484 ns 7481 ns 93394 bytes_per_second=4.07932G/s items_per_second=2.19007G/s atox_c4_read_hex<uint16_t> 7507 ns 7504 ns 93807 bytes_per_second=4.06671G/s items_per_second=2.1833G/s atox_c4_read_oct<uint16_t> 7582 ns 7576 ns 91868 bytes_per_second=4.02807G/s items_per_second=2.16255G/s atox_c4_read_bin<uint16_t> 7602 ns 7598 ns 91926 bytes_per_second=4.01656G/s items_per_second=2.15637G/s atox_c4_atou<uint16_t> 22216 ns 22208 ns 31219 bytes_per_second=1.37419G/s items_per_second=737.76M/s atox_c4_atox<uint16_t> 22171 ns 22164 ns 31727 bytes_per_second=1.37692G/s items_per_second=739.231M/s atox_c4_from_chars<uint16_t> 22199 ns 22191 ns 31671 bytes_per_second=1.37525G/s items_per_second=738.331M/s atox_std_from_chars<uint16_t> 22920 ns 22911 ns 30648 bytes_per_second=1.33202G/s items_per_second=715.122M/s atox_std_atoi<uint16_t> 241773 ns 241672 ns 2921 bytes_per_second=129.308M/s items_per_second=67.7944M/s atox_std_strtoul<uint16_t> 242201 ns 242118 ns 2879 bytes_per_second=129.069M/s items_per_second=67.6694M/s atox_scanf<uint16_t> 1223681 ns 1223132 ns 567 bytes_per_second=25.5492M/s items_per_second=13.3951M/s atox_sstream_reuse<uint16_t> 938062 ns 937730 ns 749 bytes_per_second=33.3252M/s items_per_second=17.472M/s atox_sstream<uint16_t> 4771145 ns 4769577 ns 147 bytes_per_second=6.55194M/s items_per_second=3.43511M/s [ 92%] Built target c4core-bm-charconv-atox-uint16 [ 95%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json 2022-03-03T02:29:18+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1253.13 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.25, 1.10, 1.02 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int16_t> 7485 ns 7482 ns 93526 bytes_per_second=4.07854G/s items_per_second=2.18965G/s atox_c4_read_hex<int16_t> 7474 ns 7472 ns 93454 bytes_per_second=4.08432G/s items_per_second=2.19275G/s atox_c4_read_oct<int16_t> 7565 ns 7561 ns 93508 bytes_per_second=4.03614G/s items_per_second=2.16689G/s atox_c4_read_bin<int16_t> 7541 ns 7538 ns 92020 bytes_per_second=4.04849G/s items_per_second=2.17352G/s atox_c4_atoi<int16_t> 22317 ns 22309 ns 31472 bytes_per_second=1.36798G/s items_per_second=734.427M/s atox_c4_atox<int16_t> 22132 ns 22124 ns 31520 bytes_per_second=1.37941G/s items_per_second=740.563M/s atox_c4_from_chars<int16_t> 22126 ns 22119 ns 31704 bytes_per_second=1.37973G/s items_per_second=740.737M/s atox_std_from_chars<int16_t> 22771 ns 22763 ns 30612 bytes_per_second=1.34066G/s items_per_second=719.76M/s atox_std_atoi<int16_t> 258424 ns 258338 ns 2725 bytes_per_second=120.966M/s items_per_second=63.4208M/s atox_std_strtol<int16_t> 257113 ns 257028 ns 2710 bytes_per_second=121.582M/s items_per_second=63.7441M/s atox_scanf<int16_t> 1242004 ns 1241508 ns 569 bytes_per_second=25.171M/s items_per_second=13.1969M/s atox_sstream_reuse<int16_t> 966440 ns 966088 ns 723 bytes_per_second=32.347M/s items_per_second=16.9591M/s atox_sstream<int16_t> 4762578 ns 4761001 ns 146 bytes_per_second=6.56375M/s items_per_second=3.44129M/s [ 95%] Built target c4core-bm-charconv-atox-int16 [ 95%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json 2022-03-03T02:29:30+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1610.95 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.19, 1.09, 1.01 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint32_t> 7572 ns 7569 ns 92643 bytes_per_second=8.06371G/s items_per_second=2.16459G/s atox_c4_read_hex<uint32_t> 7608 ns 7605 ns 92083 bytes_per_second=8.02583G/s items_per_second=2.15442G/s atox_c4_read_oct<uint32_t> 7563 ns 7560 ns 92503 bytes_per_second=8.07316G/s items_per_second=2.16712G/s atox_c4_read_bin<uint32_t> 7532 ns 7530 ns 93117 bytes_per_second=8.10611G/s items_per_second=2.17597G/s atox_c4_atou<uint32_t> 22055 ns 22048 ns 31737 bytes_per_second=2.76834G/s items_per_second=743.12M/s atox_c4_atox<uint32_t> 22399 ns 22391 ns 31687 bytes_per_second=2.72586G/s items_per_second=731.718M/s atox_c4_from_chars<uint32_t> 22093 ns 22086 ns 31442 bytes_per_second=2.76351G/s items_per_second=741.823M/s atox_std_from_chars<uint32_t> 22779 ns 22773 ns 30826 bytes_per_second=2.68021G/s items_per_second=719.463M/s atox_std_atoi<uint32_t> 416224 ns 416090 ns 1686 bytes_per_second=150.208M/s items_per_second=39.3761M/s atox_std_strtoul<uint32_t> 330774 ns 330663 ns 2139 bytes_per_second=189.014M/s items_per_second=49.549M/s atox_scanf<uint32_t> 1486457 ns 1485846 ns 470 bytes_per_second=42.0636M/s items_per_second=11.0267M/s atox_sstream_reuse<uint32_t> 1134028 ns 1133635 ns 617 bytes_per_second=55.1324M/s items_per_second=14.4526M/s atox_sstream<uint32_t> 4848831 ns 4846865 ns 145 bytes_per_second=12.8949M/s items_per_second=3.38033M/s [ 95%] Built target c4core-bm-charconv-atox-uint32 [ 97%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json 2022-03-03T02:29:42+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1564.89 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.23, 1.11, 1.02 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int32_t> 7610 ns 7606 ns 92389 bytes_per_second=8.02501G/s items_per_second=2.1542G/s atox_c4_read_hex<int32_t> 7540 ns 7537 ns 91949 bytes_per_second=8.09822G/s items_per_second=2.17385G/s atox_c4_read_oct<int32_t> 7515 ns 7512 ns 92432 bytes_per_second=8.12458G/s items_per_second=2.18092G/s atox_c4_read_bin<int32_t> 7467 ns 7464 ns 93805 bytes_per_second=8.17688G/s items_per_second=2.19497G/s atox_c4_atoi<int32_t> 22444 ns 22434 ns 31543 bytes_per_second=2.72065G/s items_per_second=730.32M/s atox_c4_atox<int32_t> 22153 ns 22145 ns 31409 bytes_per_second=2.75621G/s items_per_second=739.864M/s atox_c4_from_chars<int32_t> 22040 ns 22032 ns 31542 bytes_per_second=2.77026G/s items_per_second=743.636M/s atox_std_from_chars<int32_t> 22745 ns 22737 ns 30821 bytes_per_second=2.68439G/s items_per_second=720.586M/s atox_std_atoi<int32_t> 385963 ns 385818 ns 1816 bytes_per_second=161.994M/s items_per_second=42.4657M/s atox_std_strtol<int32_t> 376948 ns 376817 ns 1857 bytes_per_second=165.863M/s items_per_second=43.48M/s atox_scanf<int32_t> 1537728 ns 1537113 ns 458 bytes_per_second=40.6607M/s items_per_second=10.6589M/s atox_sstream_reuse<int32_t> 1290557 ns 1289978 ns 536 bytes_per_second=48.4504M/s items_per_second=12.701M/s atox_sstream<int32_t> 5074100 ns 5071486 ns 143 bytes_per_second=12.3238M/s items_per_second=3.23061M/s [ 97%] Built target c4core-bm-charconv-atox-int32 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json 2022-03-03T02:29:55+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1983.48 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.27, 1.12, 1.02 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint64_t> 7516 ns 7513 ns 92291 bytes_per_second=16.2469G/s items_per_second=2.18063G/s atox_c4_read_hex<uint64_t> 7490 ns 7488 ns 92870 bytes_per_second=16.3028G/s items_per_second=2.18813G/s atox_c4_read_oct<uint64_t> 7455 ns 7453 ns 93649 bytes_per_second=16.3792G/s items_per_second=2.19838G/s atox_c4_read_bin<uint64_t> 7492 ns 7489 ns 93809 bytes_per_second=16.3006G/s items_per_second=2.18783G/s atox_c4_atou<uint64_t> 22042 ns 22034 ns 31880 bytes_per_second=5.54002G/s items_per_second=743.569M/s atox_c4_atox<uint64_t> 22057 ns 22049 ns 31708 bytes_per_second=5.53621G/s items_per_second=743.058M/s atox_c4_from_chars<uint64_t> 22065 ns 22058 ns 31781 bytes_per_second=5.53412G/s items_per_second=742.777M/s atox_std_from_chars<uint64_t> 22751 ns 22743 ns 30683 bytes_per_second=5.36735G/s items_per_second=720.394M/s atox_std_atol<uint64_t> 359878 ns 359734 ns 1948 bytes_per_second=347.479M/s items_per_second=45.5447M/s atox_std_strtoull<uint64_t> 330483 ns 330354 ns 2100 bytes_per_second=378.382M/s items_per_second=49.5953M/s atox_scanf<uint64_t> 1488167 ns 1487664 ns 469 bytes_per_second=84.0243M/s items_per_second=11.0132M/s atox_sstream_reuse<uint64_t> 1189857 ns 1189443 ns 588 bytes_per_second=105.091M/s items_per_second=13.7745M/s atox_sstream<uint64_t> 4822612 ns 4820973 ns 143 bytes_per_second=25.9284M/s items_per_second=3.39848M/s [100%] Built target c4core-bm-charconv-atox-uint64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json 2022-03-03T02:30:07+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1271.98 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.41, 1.16, 1.04 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int64_t> 7478 ns 7476 ns 92736 bytes_per_second=16.3288G/s items_per_second=2.19161G/s atox_c4_read_hex<int64_t> 7476 ns 7474 ns 93069 bytes_per_second=16.3324G/s items_per_second=2.1921G/s atox_c4_read_oct<int64_t> 7462 ns 7460 ns 93345 bytes_per_second=16.3636G/s items_per_second=2.19628G/s atox_c4_read_bin<int64_t> 7497 ns 7494 ns 93743 bytes_per_second=16.2884G/s items_per_second=2.18619G/s atox_c4_atoi<int64_t> 22132 ns 22125 ns 31683 bytes_per_second=5.5173G/s items_per_second=740.52M/s atox_c4_atox<int64_t> 22162 ns 22155 ns 31739 bytes_per_second=5.50976G/s items_per_second=739.507M/s atox_c4_from_chars<int64_t> 22038 ns 22031 ns 31491 bytes_per_second=5.5408G/s items_per_second=743.674M/s atox_std_from_chars<int64_t> 22809 ns 22802 ns 30652 bytes_per_second=5.35352G/s items_per_second=718.538M/s atox_std_atol<int64_t> 362840 ns 362725 ns 1910 bytes_per_second=344.613M/s items_per_second=45.1692M/s atox_std_strtoll<int64_t> 354453 ns 354340 ns 1977 bytes_per_second=352.769M/s items_per_second=46.2381M/s atox_scanf<int64_t> 1500917 ns 1500479 ns 466 bytes_per_second=83.3067M/s items_per_second=10.9192M/s atox_sstream_reuse<int64_t> 1212966 ns 1212583 ns 575 bytes_per_second=103.086M/s items_per_second=13.5117M/s atox_sstream<int64_t> 4860120 ns 4858574 ns 144 bytes_per_second=25.7277M/s items_per_second=3.37218M/s [100%] Built target c4core-bm-charconv-atox-int64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json 2022-03-03T02:30:19+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 4219.5 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.35, 1.15, 1.04 ---------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------- atox_c4_atof<float> 262385 ns 262295 ns 2672 bytes_per_second=238.282M/s items_per_second=62.4641M/s atox_c4_atox<float> 250239 ns 250155 ns 2798 bytes_per_second=249.845M/s items_per_second=65.4955M/s atox_c4_from_chars<float> 268274 ns 268181 ns 2598 bytes_per_second=233.052M/s items_per_second=61.0932M/s atox_ryu_s2f<float> 397649 ns 397517 ns 1750 bytes_per_second=157.226M/s items_per_second=41.2158M/s atox_fast_float<float> 258031 ns 257951 ns 2724 bytes_per_second=242.294M/s items_per_second=63.5159M/s atox_fp_from_chars_limited<float> 7540 ns 7537 ns 94032 bytes_per_second=8.09796G/s items_per_second=2.17378G/s atox_fp_from_chars_unlimited<float> 7478 ns 7476 ns 93423 bytes_per_second=8.16426G/s items_per_second=2.19158G/s atox_std_atof<float> 1409424 ns 1408988 ns 495 bytes_per_second=44.3581M/s items_per_second=11.6282M/s atox_std_strtof<float> 1358631 ns 1358208 ns 515 bytes_per_second=46.0165M/s items_per_second=12.0629M/s atox_std_stof<float> 1373055 ns 1372637 ns 508 bytes_per_second=45.5328M/s items_per_second=11.9361M/s atox_scanf<float> 2540130 ns 2539302 ns 277 bytes_per_second=24.6131M/s items_per_second=6.45217M/s atox_sstream_reuse<float> 2991786 ns 2990730 ns 234 bytes_per_second=20.8979M/s items_per_second=5.47826M/s atox_sstream<float> 6842392 ns 6840397 ns 102 bytes_per_second=9.1369M/s items_per_second=2.39518M/s [100%] Built target c4core-bm-charconv-atox-float CWD=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm ``` after: ```console [ 58%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json 2022-03-03T02:19:50+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3371.27 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.10, 0.97, 0.91 ----------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------- atox_c4_atod<double> 280265 ns 280161 ns 2499 bytes_per_second=446.173M/s items_per_second=58.4807M/s atox_c4_atox<double> 272404 ns 272305 ns 2568 bytes_per_second=459.044M/s items_per_second=60.1678M/s atox_c4_from_chars<double> 280460 ns 280363 ns 2503 bytes_per_second=445.85M/s items_per_second=58.4385M/s atox_ryu_s2d<double> 394718 ns 394580 ns 1778 bytes_per_second=316.792M/s items_per_second=41.5226M/s atox_fast_float<double> 281345 ns 281251 ns 2488 bytes_per_second=444.443M/s items_per_second=58.2541M/s atox_fp_from_chars_limited<double> 7466 ns 7464 ns 93958 bytes_per_second=16.3545G/s items_per_second=2.19507G/s atox_fp_from_chars_unlimited<double> 7465 ns 7462 ns 93580 bytes_per_second=16.3585G/s items_per_second=2.1956G/s atox_std_atof<double> 1403066 ns 1402568 ns 501 bytes_per_second=89.1222M/s items_per_second=11.6814M/s atox_std_strtod<double> 1392618 ns 1392107 ns 503 bytes_per_second=89.792M/s items_per_second=11.7692M/s atox_std_stod<double> 1416732 ns 1416231 ns 495 bytes_per_second=88.2624M/s items_per_second=11.5687M/s atox_scanf<double> 2564552 ns 2563608 ns 273 bytes_per_second=48.7594M/s items_per_second=6.39099M/s atox_sstream_reuse<double> 3013562 ns 3012505 ns 233 bytes_per_second=41.4937M/s items_per_second=5.43866M/s atox_sstream<double> 6793808 ns 6791651 ns 103 bytes_per_second=18.405M/s items_per_second=2.41237M/s [ 58%] Built target c4core-bm-charconv-atox-double Consolidate compiler generated dependencies of target c4core-bm-format [ 60%] Building CXX object bm/CMakeFiles/c4core-bm-format.dir/bm_format.cpp.o [ 60%] Linking CXX executable c4core-bm-format [ 60%] Built target c4core-bm-format [ 60%] Built target c4core-bm-build [ 63%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-cat: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^cat_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json 2022-03-03T02:20:06+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1466.66 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.08, 0.97, 0.91 ------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------- cat_c4cat_substr 62.1 ns 62.1 ns 11281792 bytes_per_second=1.18486G/s items_per_second=16.1042M/s cat_c4catrs_reuse 49.7 ns 49.7 ns 13461580 bytes_per_second=1.48099G/s items_per_second=20.1291M/s cat_c4catrs_no_reuse 96.4 ns 96.4 ns 7314136 bytes_per_second=781.653M/s items_per_second=10.375M/s cat_c4catdump_c_style_static_dispatch 186 ns 186 ns 3610818 bytes_per_second=405.331M/s items_per_second=5.38M/s cat_c4catdump_c_style_dynamic_dispatch 180 ns 180 ns 5590076 bytes_per_second=275.679M/s items_per_second=5.55905M/s cat_c4catdump_cpp_style 188 ns 188 ns 4553329 bytes_per_second=263.906M/s items_per_second=5.32165M/s cat_c4catdump_lambda_style 190 ns 190 ns 4524628 bytes_per_second=261.437M/s items_per_second=5.27186M/s cat_std_to_string_reuse 154 ns 154 ns 4508544 bytes_per_second=490.486M/s items_per_second=6.51028M/s cat_std_to_string_no_reuse 193 ns 193 ns 3629644 bytes_per_second=389.55M/s items_per_second=5.17055M/s cat_stdsstream_reuse 284 ns 284 ns 2464167 bytes_per_second=265.16M/s items_per_second=3.5195M/s cat_stdsstream_no_reuse 574 ns 574 ns 1221208 bytes_per_second=131.31M/s items_per_second=1.74289M/s [ 63%] Built target c4core-bm-format-cat [ 63%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsep: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catsep_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json 2022-03-03T02:20:16+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 2090.73 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.07, 0.97, 0.91 ---------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------------- catsep_c4cat_substr 91.2 ns 91.1 ns 7645962 bytes_per_second=941.879M/s items_per_second=10.9737M/s catsep_c4catrs_reuse 81.0 ns 81.0 ns 8671613 bytes_per_second=1059.59M/s items_per_second=12.3451M/s catsep_c4catrs_no_reuse 147 ns 147 ns 4768534 bytes_per_second=932.398M/s items_per_second=6.78952M/s catsep_c4catdump_c_style_static_dispatch 246 ns 246 ns 2332921 bytes_per_second=348.486M/s items_per_second=4.06016M/s catsep_c4catdump_c_style_dynamic_dispatch 330 ns 330 ns 3507174 bytes_per_second=150.465M/s items_per_second=3.03411M/s catsep_c4catdump_cpp_style 301 ns 300 ns 2279415 bytes_per_second=165.069M/s items_per_second=3.3286M/s catsep_c4catdump_lambda_style 270 ns 270 ns 2924080 bytes_per_second=183.958M/s items_per_second=3.7095M/s catsep_std_to_string_reuse 213 ns 213 ns 3279324 bytes_per_second=688.62M/s items_per_second=4.68877M/s catsep_std_to_string_no_reuse 290 ns 290 ns 2436132 bytes_per_second=506.73M/s items_per_second=3.45029M/s catsep_stdsstream_reuse 305 ns 305 ns 2303339 bytes_per_second=278.617M/s items_per_second=3.2826M/s catsep_stdsstream_no_reuse 591 ns 591 ns 1185074 bytes_per_second=143.682M/s items_per_second=1.69283M/s [ 63%] Built target c4core-bm-format-catsep [ 65%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-format: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^format_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json 2022-03-03T02:20:27+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 2197.26 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.06, 0.97, 0.92 ------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------------- format_c4format 205 ns 205 ns 3424555 bytes_per_second=1016.01M/s items_per_second=4.88697M/s format_c4formatrs_reuse 208 ns 208 ns 3374462 bytes_per_second=1001.44M/s items_per_second=4.8169M/s format_c4formatrs_no_reuse 422 ns 422 ns 1663242 bytes_per_second=492.948M/s items_per_second=2.37107M/s format_c4formatdump_c_style_static_dispatch 396 ns 396 ns 1609236 bytes_per_second=525.2M/s items_per_second=2.5262M/s format_c4formatdump_c_style_dynamic_dispatch 332 ns 331 ns 2125987 bytes_per_second=627.287M/s items_per_second=3.01724M/s format_c4formatdump_cpp_style 472 ns 472 ns 1596014 bytes_per_second=440.712M/s items_per_second=2.11982M/s format_c4formatdump_lambda_style 471 ns 470 ns 1596935 bytes_per_second=442.016M/s items_per_second=2.12609M/s format_snprintf 382 ns 382 ns 1829013 bytes_per_second=544.137M/s items_per_second=2.61729M/s [ 65%] Built target c4core-bm-format-format [ 68%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json 2022-03-03T02:20:36+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 3503.7 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.12, 0.99, 0.92 ----------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------- catfile_c4catdump_c_style_static_dispatch 262 ns 262 ns 2663948 bytes_per_second=287.368M/s items_per_second=3.81427M/s catfile_c4catdump_c_style_dynamic_dispatch 262 ns 261 ns 2684523 bytes_per_second=288.156M/s items_per_second=3.82473M/s catfile_c4catdump_cpp_style 262 ns 262 ns 2678594 bytes_per_second=189.557M/s items_per_second=3.82241M/s catfile_c4catdump_lambda_style 261 ns 261 ns 2671451 bytes_per_second=189.98M/s items_per_second=3.83093M/s catfile_fprintf 504 ns 504 ns 1000000 bytes_per_second=149.442M/s items_per_second=1.98356M/s catfile_ofstream 363 ns 363 ns 1955889 bytes_per_second=207.548M/s items_per_second=2.7548M/s [ 68%] Built target c4core-bm-format-catfile [ 70%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsepfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^catsepfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json 2022-03-03T02:20:43+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 3840.58 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.11, 0.99, 0.92 ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- catsepfile_c4catsepdump_c_style_static_dispatch 451 ns 451 ns 1550369 bytes_per_second=304.524M/s items_per_second=2.21747M/s catsepfile_c4catsepdump_c_style_dynamic_dispatch 455 ns 455 ns 1568482 bytes_per_second=301.906M/s items_per_second=2.19841M/s catsepfile_c4catsepdump_cpp_style 449 ns 449 ns 1559970 bytes_per_second=306.172M/s items_per_second=2.22948M/s catsepfile_c4catsepdump_lambda_style 446 ns 445 ns 1562291 bytes_per_second=308.261M/s items_per_second=2.24468M/s catsepfile_fprintf 771 ns 771 ns 911812 bytes_per_second=178.123M/s items_per_second=1.29705M/s catsepfile_ofstream 530 ns 530 ns 1325054 bytes_per_second=259.061M/s items_per_second=1.88643M/s [ 70%] Built target c4core-bm-format-catsepfile [ 70%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-formatfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.9 --benchmark_filter=^formatfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json 2022-03-03T02:20:50+00:00 Running ./c4core-bm-format-0.1.9 Run on (20 X 1264.11 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.25, 1.02, 0.93 ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- formatfile_c4formatdump_c_style_static_dispatch 590 ns 590 ns 1178056 bytes_per_second=352.581M/s items_per_second=1.69591M/s formatfile_c4formatdump_c_style_dynamic_dispatch 616 ns 616 ns 1152049 bytes_per_second=337.589M/s items_per_second=1.6238M/s formatfile_c4formatdump_cpp_style 596 ns 596 ns 1182851 bytes_per_second=348.953M/s items_per_second=1.67846M/s formatfile_c4formatdump_lambda_style 593 ns 593 ns 1191477 bytes_per_second=350.709M/s items_per_second=1.68691M/s formatfile_fprintf 494 ns 494 ns 1419628 bytes_per_second=421.138M/s items_per_second=2.02567M/s [ 70%] Built target c4core-bm-format-formatfile [ 70%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json 2022-03-03T02:20:56+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1615.14 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.23, 1.02, 0.93 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint8_t> 41041 ns 41026 ns 17026 bytes_per_second=380.855M/s items_per_second=399.356M/s xtoa_c4_write_hex<uint8_t> 37350 ns 37336 ns 18744 bytes_per_second=418.494M/s items_per_second=438.823M/s xtoa_c4_write_oct<uint8_t> 24464 ns 24455 ns 28665 bytes_per_second=638.923M/s items_per_second=669.959M/s xtoa_c4_write_bin<uint8_t> 24406 ns 24398 ns 28720 bytes_per_second=640.412M/s items_per_second=671.521M/s xtoa_c4_utoa<uint8_t> 29868 ns 29858 ns 23439 bytes_per_second=523.313M/s items_per_second=548.733M/s xtoa_c4_xtoa<uint8_t> 29873 ns 29863 ns 23475 bytes_per_second=523.225M/s items_per_second=548.641M/s xtoa_c4_to_chars<uint8_t> 29863 ns 29852 ns 23468 bytes_per_second=523.41M/s items_per_second=548.835M/s xtoa_std_to_chars<uint8_t> 22436 ns 22427 ns 31315 bytes_per_second=696.697M/s items_per_second=730.54M/s xtoa_std_to_string<uint8_t> 96969 ns 96936 ns 7198 bytes_per_second=161.189M/s items_per_second=169.019M/s xtoa_sprintf<uint8_t> 697200 ns 696959 ns 1001 bytes_per_second=22.4188M/s items_per_second=23.5078M/s xtoa_sstream_reuse<uint8_t> 437527 ns 437378 ns 1596 bytes_per_second=35.7243M/s items_per_second=37.4596M/s xtoa_sstream<uint8_t> 4239810 ns 4238435 ns 164 bytes_per_second=3.6865M/s items_per_second=3.86558M/s [ 70%] Built target c4core-bm-charconv-xtoa-uint8 [ 73%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json 2022-03-03T02:21:08+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1807.38 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.20, 1.02, 0.94 ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_write_dec<int8_t> 30371 ns 30361 ns 23019 bytes_per_second=514.646M/s items_per_second=539.646M/s xtoa_c4_write_hex<int8_t> 29838 ns 29827 ns 23420 bytes_per_second=523.858M/s items_per_second=549.305M/s xtoa_c4_write_oct<int8_t> 24631 ns 24624 ns 28527 bytes_per_second=634.554M/s items_per_second=665.378M/s xtoa_c4_write_bin<int8_t> 24616 ns 24608 ns 28501 bytes_per_second=634.959M/s items_per_second=665.803M/s xtoa_c4_itoa<int8_t> 29901 ns 29891 ns 23337 bytes_per_second=522.728M/s items_per_second=548.12M/s xtoa_c4_xtoa<int8_t> 29983 ns 29973 ns 23342 bytes_per_second=521.298M/s items_per_second=546.621M/s xtoa_c4_to_chars<int8_t> 29942 ns 29931 ns 23413 bytes_per_second=522.029M/s items_per_second=547.387M/s xtoa_std_to_chars<int8_t> 22392 ns 22385 ns 31248 bytes_per_second=698.009M/s items_per_second=731.916M/s xtoa_std_to_string<int8_t> 94950 ns 94921 ns 7335 bytes_per_second=164.61M/s items_per_second=172.606M/s xtoa_sprintf<int8_t> 702089 ns 701875 ns 997 bytes_per_second=22.2618M/s items_per_second=23.3432M/s xtoa_sstream_reuse<int8_t> 430900 ns 430742 ns 1626 bytes_per_second=36.2746M/s items_per_second=38.0367M/s xtoa_sstream<int8_t> 4016546 ns 4015297 ns 174 bytes_per_second=3.89137M/s items_per_second=4.0804M/s [ 73%] Built target c4core-bm-charconv-xtoa-int8 [ 73%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json 2022-03-03T02:21:20+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 4072.87 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.15, 1.02, 0.94 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint16_t> 29886 ns 29877 ns 23363 bytes_per_second=1045.96M/s items_per_second=548.382M/s xtoa_c4_write_hex<uint16_t> 37365 ns 37354 ns 18736 bytes_per_second=836.591M/s items_per_second=438.615M/s xtoa_c4_write_oct<uint16_t> 24437 ns 24429 ns 28654 bytes_per_second=1.24921G/s items_per_second=670.667M/s xtoa_c4_write_bin<uint16_t> 24488 ns 24480 ns 28594 bytes_per_second=1.24661G/s items_per_second=669.27M/s xtoa_c4_utoa<uint16_t> 29960 ns 29951 ns 23454 bytes_per_second=1043.36M/s items_per_second=547.021M/s xtoa_c4_xtoa<uint16_t> 29908 ns 29900 ns 23417 bytes_per_second=1045.17M/s items_per_second=547.968M/s xtoa_c4_to_chars<uint16_t> 37464 ns 37452 ns 18750 bytes_per_second=834.402M/s items_per_second=437.467M/s xtoa_std_to_chars<uint16_t> 21210 ns 21203 ns 32816 bytes_per_second=1.43927G/s items_per_second=772.705M/s xtoa_std_to_string<uint16_t> 89979 ns 89953 ns 7814 bytes_per_second=347.406M/s items_per_second=182.141M/s xtoa_sprintf<uint16_t> 700896 ns 700697 ns 999 bytes_per_second=44.5984M/s items_per_second=23.3824M/s xtoa_sstream_reuse<uint16_t> 559772 ns 559616 ns 1237 bytes_per_second=55.8419M/s items_per_second=29.2772M/s xtoa_sstream<uint16_t> 4167557 ns 4166412 ns 168 bytes_per_second=7.50046M/s items_per_second=3.9324M/s [ 73%] Built target c4core-bm-charconv-xtoa-uint16 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json 2022-03-03T02:21:32+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1737.82 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.13, 1.02, 0.94 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int16_t> 30987 ns 30978 ns 22555 bytes_per_second=1008.8M/s items_per_second=528.899M/s xtoa_c4_write_hex<int16_t> 26138 ns 26130 ns 26811 bytes_per_second=1.1679G/s items_per_second=627.01M/s xtoa_c4_write_oct<int16_t> 26137 ns 26129 ns 26690 bytes_per_second=1.16795G/s items_per_second=627.038M/s xtoa_c4_write_bin<int16_t> 24639 ns 24631 ns 28368 bytes_per_second=1.239G/s items_per_second=665.185M/s xtoa_c4_itoa<int16_t> 33918 ns 33906 ns 20247 bytes_per_second=921.655M/s items_per_second=483.213M/s xtoa_c4_xtoa<int16_t> 33588 ns 33578 ns 20809 bytes_per_second=930.675M/s items_per_second=487.942M/s xtoa_c4_to_chars<int16_t> 33615 ns 33605 ns 20870 bytes_per_second=929.926M/s items_per_second=487.549M/s xtoa_std_to_chars<int16_t> 18684 ns 18678 ns 37605 bytes_per_second=1.63385G/s items_per_second=877.165M/s xtoa_std_to_string<int16_t> 95128 ns 95100 ns 7353 bytes_per_second=328.601M/s items_per_second=172.282M/s xtoa_sprintf<int16_t> 716741 ns 716524 ns 970 bytes_per_second=43.6134M/s items_per_second=22.866M/s xtoa_sstream_reuse<int16_t> 590627 ns 590449 ns 1180 bytes_per_second=52.9258M/s items_per_second=27.7484M/s xtoa_sstream<int16_t> 4280349 ns 4279082 ns 164 bytes_per_second=7.30297M/s items_per_second=3.82886M/s [ 75%] Built target c4core-bm-charconv-xtoa-int16 [ 78%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json 2022-03-03T02:21:43+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2513.5 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.11, 1.02, 0.94 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint32_t> 37403 ns 37392 ns 18647 bytes_per_second=1.63229G/s items_per_second=438.166M/s xtoa_c4_write_hex<uint32_t> 29961 ns 29951 ns 23107 bytes_per_second=2.03785G/s items_per_second=547.03M/s xtoa_c4_write_oct<uint32_t> 24466 ns 24459 ns 28669 bytes_per_second=2.49544G/s items_per_second=669.864M/s xtoa_c4_write_bin<uint32_t> 24427 ns 24420 ns 28613 bytes_per_second=2.49937G/s items_per_second=670.919M/s xtoa_c4_utoa<uint32_t> 29895 ns 29886 ns 23338 bytes_per_second=2.04226G/s items_per_second=548.215M/s xtoa_c4_xtoa<uint32_t> 29915 ns 29905 ns 23371 bytes_per_second=2.04095G/s items_per_second=547.862M/s xtoa_c4_to_chars<uint32_t> 29872 ns 29863 ns 23407 bytes_per_second=2.04384G/s items_per_second=548.639M/s xtoa_std_to_chars<uint32_t> 18670 ns 18664 ns 37498 bytes_per_second=3.27012G/s items_per_second=877.817M/s xtoa_std_to_string<uint32_t> 94913 ns 94886 ns 7253 bytes_per_second=658.683M/s items_per_second=172.67M/s xtoa_sprintf<uint32_t> 700719 ns 700488 ns 1000 bytes_per_second=89.2235M/s items_per_second=23.3894M/s xtoa_sstream_reuse<uint32_t> 549888 ns 549718 ns 1278 bytes_per_second=113.695M/s items_per_second=29.8044M/s xtoa_sstream<uint32_t> 4189622 ns 4188344 ns 167 bytes_per_second=14.9224M/s items_per_second=3.91181M/s [ 78%] Built target c4core-bm-charconv-xtoa-uint32 [ 78%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json 2022-03-03T02:21:55+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1349.48 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.08, 1.02, 0.94 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int32_t> 30937 ns 30927 ns 22625 bytes_per_second=1.97349G/s items_per_second=529.756M/s xtoa_c4_write_hex<int32_t> 30005 ns 29996 ns 23453 bytes_per_second=2.03479G/s items_per_second=546.211M/s xtoa_c4_write_oct<int32_t> 24435 ns 24429 ns 28421 bytes_per_second=2.4985G/s items_per_second=670.687M/s xtoa_c4_write_bin<int32_t> 24503 ns 24496 ns 28647 bytes_per_second=2.49168G/s items_per_second=668.856M/s xtoa_c4_itoa<int32_t> 33638 ns 33627 ns 20844 bytes_per_second=1.81504G/s items_per_second=487.222M/s xtoa_c4_xtoa<int32_t> 29967 ns 29957 ns 23405 bytes_per_second=2.0374G/s items_per_second=546.909M/s xtoa_c4_to_chars<int32_t> 29943 ns 29934 ns 23408 bytes_per_second=2.03902G/s items_per_second=547.347M/s xtoa_std_to_chars<int32_t> 22428 ns 22421 ns 31327 bytes_per_second=2.72221G/s items_per_second=730.739M/s xtoa_std_to_string<int32_t> 99110 ns 99078 ns 7094 bytes_per_second=630.819M/s items_per_second=165.365M/s xtoa_sprintf<int32_t> 720644 ns 720442 ns 960 bytes_per_second=86.7522M/s items_per_second=22.7416M/s xtoa_sstream_reuse<int32_t> 585727 ns 585539 ns 1184 bytes_per_second=106.739M/s items_per_second=27.981M/s xtoa_sstream<int32_t> 4602982 ns 4601638 ns 152 bytes_per_second=13.5821M/s items_per_second=3.56047M/s [ 78%] Built target c4core-bm-charconv-xtoa-int32 [ 80%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json 2022-03-03T02:22:07+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3725.58 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.07, 1.02, 0.94 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint64_t> 33667 ns 33656 ns 20819 bytes_per_second=3.62697G/s items_per_second=486.803M/s xtoa_c4_write_hex<uint64_t> 33626 ns 33615 ns 20806 bytes_per_second=3.63147G/s items_per_second=487.408M/s xtoa_c4_write_oct<uint64_t> 26125 ns 26117 ns 26779 bytes_per_second=4.67389G/s items_per_second=627.319M/s xtoa_c4_write_bin<uint64_t> 24640 ns 24633 ns 28471 bytes_per_second=4.95559G/s items_per_second=665.128M/s xtoa_c4_utoa<uint64_t> 37347 ns 37336 ns 18736 bytes_per_second=3.26954G/s items_per_second=438.83M/s xtoa_c4_xtoa<uint64_t> 33614 ns 33604 ns 20858 bytes_per_second=3.63263G/s items_per_second=487.564M/s xtoa_c4_to_chars<uint64_t> 37446 ns 37435 ns 18732 bytes_per_second=3.26087G/s items_per_second=437.667M/s xtoa_std_to_chars<uint64_t> 20836 ns 20829 ns 33621 bytes_per_second=5.86049G/s items_per_second=786.582M/s xtoa_std_to_string<uint64_t> 91116 ns 91090 ns 7651 bytes_per_second=1.34011G/s items_per_second=179.867M/s xtoa_sprintf<uint64_t> 761252 ns 761038 ns 919 bytes_per_second=164.249M/s items_per_second=21.5285M/s xtoa_sstream_reuse<uint64_t> 554109 ns 553944 ns 1259 bytes_per_second=225.655M/s items_per_second=29.577M/s xtoa_sstream<uint64_t> 4247995 ns 4246793 ns 164 bytes_per_second=29.434M/s items_per_second=3.85797M/s [ 80%] Built target c4core-bm-charconv-xtoa-uint64 [ 82%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json 2022-03-03T02:22:19+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1270.17 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.06, 1.02, 0.94 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int64_t> 44798 ns 44784 ns 15611 bytes_per_second=2.72578G/s items_per_second=365.847M/s xtoa_c4_write_hex<int64_t> 37348 ns 37336 ns 18714 bytes_per_second=3.26951G/s items_per_second=438.826M/s xtoa_c4_write_oct<int64_t> 24441 ns 24434 ns 28595 bytes_per_second=4.99594G/s items_per_second=670.544M/s xtoa_c4_write_bin<int64_t> 24447 ns 24439 ns 28645 bytes_per_second=4.99486G/s items_per_second=670.399M/s xtoa_c4_itoa<int64_t> 33696 ns 33685 ns 20862 bytes_per_second=3.62384G/s items_per_second=486.384M/s xtoa_c4_xtoa<int64_t> 33649 ns 33639 ns 20868 bytes_per_second=3.62883G/s items_per_second=487.053M/s xtoa_c4_to_chars<int64_t> 33606 ns 33596 ns 20856 bytes_per_second=3.63344G/s items_per_second=487.673M/s xtoa_std_to_chars<int64_t> 22402 ns 22395 ns 31235 bytes_per_second=5.45074G/s items_per_second=731.586M/s xtoa_std_to_string<int64_t> 90546 ns 90513 ns 7764 bytes_per_second=1.34864G/s items_per_second=181.012M/s xtoa_sprintf<int64_t> 740707 ns 740449 ns 942 bytes_per_second=168.816M/s items_per_second=22.1271M/s xtoa_sstream_reuse<int64_t> 568396 ns 568221 ns 1202 bytes_per_second=219.985M/s items_per_second=28.8338M/s xtoa_sstream<int64_t> 4336265 ns 4335056 ns 161 bytes_per_second=28.8347M/s items_per_second=3.77942M/s [ 82%] Built target c4core-bm-charconv-xtoa-int64 [ 85%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json 2022-03-03T02:22:31+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1311.65 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.05, 1.02, 0.94 ------------------------------------------------------------------------------------ Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------ xtoa_c4_ftoa<float> 2576893 ns 2576068 ns 271 bytes_per_second=24.2618M/s items_per_second=6.36008M/s xtoa_c4_xtoa<float> 2600940 ns 2600106 ns 269 bytes_per_second=24.0375M/s items_per_second=6.30128M/s xtoa_c4_to_chars<float> 2606396 ns 2605600 ns 268 bytes_per_second=23.9868M/s items_per_second=6.288M/s xtoa_ryu_f2s<float> 46864 ns 46847 ns 14908 bytes_per_second=1.30286G/s items_per_second=349.733M/s xtoa_std_to_string<float> 2139269 ns 2138489 ns 328 bytes_per_second=29.2262M/s items_per_second=7.66148M/s xtoa_sprintf<float> 1756470 ns 1755856 ns 400 bytes_per_second=35.5952M/s items_per_second=9.33106M/s xtoa_sstream_reuse<float> 3163924 ns 3162837 ns 221 bytes_per_second=19.7607M/s items_per_second=5.18016M/s xtoa_sstream<float> 7015193 ns 7012823 ns 98 bytes_per_second=8.91225M/s items_per_second=2.33629M/s [ 85%] Built target c4core-bm-charconv-xtoa-float [ 85%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^xtoa.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json 2022-03-03T02:22:39+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1250.62 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.04, 1.01, 0.94 ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_dtoa<double> 2809198 ns 2808286 ns 249 bytes_per_second=44.5111M/s items_per_second=5.83416M/s xtoa_c4_xtoa<double> 2796664 ns 2795782 ns 249 bytes_per_second=44.7102M/s items_per_second=5.86026M/s xtoa_c4_to_chars<double> 2807970 ns 2807004 ns 250 bytes_per_second=44.5315M/s items_per_second=5.83683M/s xtoa_ryu_d2s<double> 52368 ns 52350 ns 13355 bytes_per_second=2.33179G/s items_per_second=312.968M/s xtoa_std_to_string<double> 2119227 ns 2118566 ns 331 bytes_per_second=59.0022M/s items_per_second=7.73353M/s xtoa_sprintf<double> 1749652 ns 1749104 ns 402 bytes_per_second=71.4651M/s items_per_second=9.36708M/s xtoa_sstream_reuse<double> 3209008 ns 3207961 ns 219 bytes_per_second=38.9656M/s items_per_second=5.10729M/s xtoa_sstream<double> 7076077 ns 7073898 ns 99 bytes_per_second=17.6706M/s items_per_second=2.31612M/s [ 85%] Built target c4core-bm-charconv-xtoa-double [ 87%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json 2022-03-03T02:22:46+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2275.11 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.04, 1.01, 0.95 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<uint8_t> 7481 ns 7478 ns 92702 bytes_per_second=2.04051G/s items_per_second=2.19098G/s atox_c4_read_hex<uint8_t> 7470 ns 7468 ns 93204 bytes_per_second=2.04333G/s items_per_second=2.19401G/s atox_c4_read_oct<uint8_t> 7455 ns 7452 ns 92935 bytes_per_second=2.04752G/s items_per_second=2.19851G/s atox_c4_read_bin<uint8_t> 7468 ns 7465 ns 94006 bytes_per_second=2.04394G/s items_per_second=2.19466G/s atox_c4_atou<uint8_t> 22003 ns 21995 ns 31852 bytes_per_second=710.383M/s items_per_second=744.891M/s atox_c4_atox<uint8_t> 22008 ns 22001 ns 31754 bytes_per_second=710.187M/s items_per_second=744.685M/s atox_c4_from_chars<uint8_t> 22030 ns 22023 ns 31756 bytes_per_second=709.495M/s items_per_second=743.96M/s atox_std_from_chars<uint8_t> 22676 ns 22669 ns 30833 bytes_per_second=689.27M/s items_per_second=722.752M/s atox_std_atoi<uint8_t> 223710 ns 223632 ns 3129 bytes_per_second=69.8692M/s items_per_second=73.2631M/s atox_std_strtoul<uint8_t> 221463 ns 221382 ns 3152 bytes_per_second=70.5793M/s items_per_second=74.0077M/s atox_scanf<uint8_t> 1111146 ns 1110783 ns 630 bytes_per_second=14.0666M/s items_per_second=14.7499M/s atox_sstream_reuse<uint8_t> 279911 ns 279806 ns 2493 bytes_per_second=55.8422M/s items_per_second=58.5548M/s atox_sstream<uint8_t> 3830949 ns 3829640 ns 183 bytes_per_second=4.08002M/s items_per_second=4.27821M/s [ 87%] Built target c4core-bm-charconv-atox-uint8 [ 90%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json 2022-03-03T02:22:58+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1243.45 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.03, 1.01, 0.95 -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<int8_t> 7450 ns 7448 ns 93404 bytes_per_second=2.04882G/s items_per_second=2.1999G/s atox_c4_read_hex<int8_t> 7467 ns 7464 ns 93094 bytes_per_second=2.04424G/s items_per_second=2.19499G/s atox_c4_read_oct<int8_t> 7469 ns 7466 ns 93770 bytes_per_second=2.04369G/s items_per_second=2.19439G/s atox_c4_read_bin<int8_t> 7465 ns 7462 ns 93550 bytes_per_second=2.04486G/s items_per_second=2.19565G/s atox_c4_atoi<int8_t> 21996 ns 21989 ns 31860 bytes_per_second=710.583M/s items_per_second=745.1M/s atox_c4_atox<int8_t> 22071 ns 22062 ns 31811 bytes_per_second=708.22M/s items_per_second=742.623M/s atox_c4_from_chars<int8_t> 22230 ns 22222 ns 31569 bytes_per_second=703.132M/s items_per_second=737.288M/s atox_std_from_chars<int8_t> 22710 ns 22702 ns 30726 bytes_per_second=688.254M/s items_per_second=721.687M/s atox_std_atoi<int8_t> 196231 ns 196163 ns 3554 bytes_per_second=79.653M/s items_per_second=83.5222M/s atox_std_strtol<int8_t> 197622 ns 197548 ns 3514 bytes_per_second=79.0948M/s items_per_second=82.9369M/s atox_scanf<int8_t> 1007503 ns 1007133 ns 687 bytes_per_second=15.5143M/s items_per_second=16.268M/s atox_sstream_reuse<int8_t> 290037 ns 289929 ns 2411 bytes_per_second=53.8925M/s items_per_second=56.5104M/s atox_sstream<int8_t> 3970579 ns 3969166 ns 176 bytes_per_second=3.9366M/s items_per_second=4.12782M/s [ 90%] Built target c4core-bm-charconv-atox-int8 [ 92%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json 2022-03-03T02:23:10+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2226.11 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.02, 1.01, 0.95 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint16_t> 7499 ns 7496 ns 92626 bytes_per_second=4.07091G/s items_per_second=2.18555G/s atox_c4_read_hex<uint16_t> 7545 ns 7543 ns 93208 bytes_per_second=4.04607G/s items_per_second=2.17222G/s atox_c4_read_oct<uint16_t> 7513 ns 7511 ns 92394 bytes_per_second=4.06313G/s items_per_second=2.18137G/s atox_c4_read_bin<uint16_t> 7457 ns 7455 ns 93587 bytes_per_second=4.09384G/s items_per_second=2.19786G/s atox_c4_atou<uint16_t> 22147 ns 22140 ns 31705 bytes_per_second=1.37841G/s items_per_second=740.029M/s atox_c4_atox<uint16_t> 22427 ns 22416 ns 31570 bytes_per_second=1.36143G/s items_per_second=730.912M/s atox_c4_from_chars<uint16_t> 22254 ns 22247 ns 31300 bytes_per_second=1.37178G/s items_per_second=736.466M/s atox_std_from_chars<uint16_t> 22987 ns 22978 ns 30514 bytes_per_second=1.32809G/s items_per_second=713.015M/s atox_std_atoi<uint16_t> 249853 ns 249703 ns 2828 bytes_per_second=125.149M/s items_per_second=65.6141M/s atox_std_strtoul<uint16_t> 245741 ns 245651 ns 2894 bytes_per_second=127.213M/s items_per_second=66.6962M/s atox_scanf<uint16_t> 1263650 ns 1262974 ns 576 bytes_per_second=24.7432M/s items_per_second=12.9726M/s atox_sstream_reuse<uint16_t> 967575 ns 967081 ns 690 bytes_per_second=32.3137M/s items_per_second=16.9417M/s atox_sstream<uint16_t> 4619757 ns 4618182 ns 151 bytes_per_second=6.76673M/s items_per_second=3.54772M/s [ 92%] Built target c4core-bm-charconv-atox-uint16 [ 95%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json 2022-03-03T02:23:22+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3132.7 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.31, 1.08, 0.97 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int16_t> 7563 ns 7560 ns 93345 bytes_per_second=4.03663G/s items_per_second=2.16715G/s atox_c4_read_hex<int16_t> 7579 ns 7576 ns 92800 bytes_per_second=4.02829G/s items_per_second=2.16267G/s atox_c4_read_oct<int16_t> 7545 ns 7542 ns 92847 bytes_per_second=4.04631G/s items_per_second=2.17234G/s atox_c4_read_bin<int16_t> 7474 ns 7471 ns 93377 bytes_per_second=4.08471G/s items_per_second=2.19296G/s atox_c4_atoi<int16_t> 22241 ns 22232 ns 31760 bytes_per_second=1.37272G/s items_per_second=736.972M/s atox_c4_atox<int16_t> 22172 ns 22165 ns 31585 bytes_per_second=1.37685G/s items_per_second=739.19M/s atox_c4_from_chars<int16_t> 22147 ns 22138 ns 31475 bytes_per_second=1.3785G/s items_per_second=740.079M/s atox_std_from_chars<int16_t> 22858 ns 22850 ns 30391 bytes_per_second=1.33559G/s items_per_second=717.039M/s atox_std_atoi<int16_t> 263974 ns 263866 ns 2642 bytes_per_second=118.431M/s items_per_second=62.0922M/s atox_std_strtol<int16_t> 260252 ns 260145 ns 2688 bytes_per_second=120.125M/s items_per_second=62.9803M/s atox_scanf<int16_t> 1220593 ns 1220128 ns 568 bytes_per_second=25.6121M/s items_per_second=13.4281M/s atox_sstream_reuse<int16_t> 950526 ns 950182 ns 738 bytes_per_second=32.8884M/s items_per_second=17.243M/s atox_sstream<int16_t> 4573094 ns 4571181 ns 153 bytes_per_second=6.83631M/s items_per_second=3.58419M/s [ 95%] Built target c4core-bm-charconv-atox-int16 [ 95%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json 2022-03-03T02:23:33+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1790.09 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.26, 1.07, 0.97 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint32_t> 7537 ns 7534 ns 93317 bytes_per_second=8.10104G/s items_per_second=2.17461G/s atox_c4_read_hex<uint32_t> 7472 ns 7470 ns 94127 bytes_per_second=8.17054G/s items_per_second=2.19326G/s atox_c4_read_oct<uint32_t> 7469 ns 7467 ns 93608 bytes_per_second=8.1739G/s items_per_second=2.19416G/s atox_c4_read_bin<uint32_t> 7469 ns 7467 ns 93209 bytes_per_second=8.17369G/s items_per_second=2.19411G/s atox_c4_atou<uint32_t> 22210 ns 22203 ns 31825 bytes_per_second=2.74899G/s items_per_second=737.926M/s atox_c4_atox<uint32_t> 22277 ns 22269 ns 31639 bytes_per_second=2.74076G/s items_per_second=735.717M/s atox_c4_from_chars<uint32_t> 22213 ns 22206 ns 31361 bytes_per_second=2.74861G/s items_per_second=737.825M/s atox_std_from_chars<uint32_t> 22742 ns 22735 ns 30651 bytes_per_second=2.68465G/s items_per_second=720.654M/s atox_std_atoi<uint32_t> 353791 ns 353667 ns 1988 bytes_per_second=176.72M/s items_per_second=46.326M/s atox_std_strtoul<uint32_t> 325607 ns 325509 ns 2161 bytes_per_second=192.007M/s items_per_second=50.3335M/s atox_scanf<uint32_t> 1486790 ns 1486267 ns 467 bytes_per_second=42.0517M/s items_per_second=11.0236M/s atox_sstream_reuse<uint32_t> 1136813 ns 1136364 ns 618 bytes_per_second=55M/s items_per_second=14.4179M/s atox_sstream<uint32_t> 4888876 ns 4886992 ns 144 bytes_per_second=12.7891M/s items_per_second=3.35257M/s [ 95%] Built target c4core-bm-charconv-atox-uint32 [ 97%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json 2022-03-03T02:23:45+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 3860.77 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.21, 1.07, 0.97 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int32_t> 7470 ns 7468 ns 92877 bytes_per_second=8.17336G/s items_per_second=2.19402G/s atox_c4_read_hex<int32_t> 7491 ns 7488 ns 93867 bytes_per_second=8.15054G/s items_per_second=2.18789G/s atox_c4_read_oct<int32_t> 7511 ns 7508 ns 93113 bytes_per_second=8.12953G/s items_per_second=2.18226G/s atox_c4_read_bin<int32_t> 7493 ns 7490 ns 93372 bytes_per_second=8.149G/s items_per_second=2.18748G/s atox_c4_atoi<int32_t> 22125 ns 22116 ns 31620 bytes_per_second=2.75974G/s items_per_second=740.811M/s atox_c4_atox<int32_t> 22070 ns 22063 ns 31670 bytes_per_second=2.76646G/s items_per_second=742.615M/s atox_c4_from_chars<int32_t> 22064 ns 22057 ns 31648 bytes_per_second=2.76715G/s items_per_second=742.802M/s atox_std_from_chars<int32_t> 23027 ns 23017 ns 30781 bytes_per_second=2.65173G/s items_per_second=711.818M/s atox_std_atoi<int32_t> 380852 ns 380669 ns 1825 bytes_per_second=164.184M/s items_per_second=43.04M/s atox_std_strtol<int32_t> 379242 ns 379077 ns 1844 bytes_per_second=164.874M/s items_per_second=43.2208M/s atox_scanf<int32_t> 1518609 ns 1518001 ns 460 bytes_per_second=41.1726M/s items_per_second=10.7931M/s atox_sstream_reuse<int32_t> 1267221 ns 1266722 ns 553 bytes_per_second=49.3399M/s items_per_second=12.9342M/s atox_sstream<int32_t> 5007906 ns 5005832 ns 140 bytes_per_second=12.4854M/s items_per_second=3.27298M/s [ 97%] Built target c4core-bm-charconv-atox-int32 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json 2022-03-03T02:23:58+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1239.82 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.25, 1.08, 0.98 ---------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------- atox_c4_read_dec<uint64_t> 7495 ns 7492 ns 93681 bytes_per_second=16.2924G/s items_per_second=2.18672G/s atox_c4_read_hex<uint64_t> 7465 ns 7462 ns 93397 bytes_per_second=16.3584G/s items_per_second=2.19559G/s atox_c4_read_oct<uint64_t> 7480 ns 7477 ns 93992 bytes_per_second=16.3256G/s items_per_second=2.19119G/s atox_c4_read_bin<uint64_t> 7499 ns 7496 ns 93610 bytes_per_second=16.2841G/s items_per_second=2.18562G/s atox_c4_atou<uint64_t> 22205 ns 22195 ns 31629 bytes_per_second=5.4998G/s items_per_second=738.171M/s atox_c4_atox<uint64_t> 22127 ns 22118 ns 31589 bytes_per_second=5.51912G/s items_per_second=740.764M/s atox_c4_from_chars<uint64_t> 22104 ns 22096 ns 31605 bytes_per_second=5.52449G/s items_per_second=741.484M/s atox_std_from_chars<uint64_t> 22751 ns 22743 ns 30581 bytes_per_second=5.36748G/s items_per_second=720.411M/s atox_std_atol<uint64_t> 414316 ns 414049 ns 1698 bytes_per_second=301.897M/s items_per_second=39.5702M/s atox_std_strtoull<uint64_t> 326049 ns 325853 ns 2150 bytes_per_second=383.608M/s items_per_second=50.2803M/s atox_scanf<uint64_t> 1454208 ns 1453363 ns 479 bytes_per_second=86.0074M/s items_per_second=11.2732M/s atox_sstream_reuse<uint64_t> 1184569 ns 1183910 ns 587 bytes_per_second=105.582M/s items_per_second=13.8389M/s atox_sstream<uint64_t> 4854529 ns 4852108 ns 144 bytes_per_second=25.762M/s items_per_second=3.37668M/s [100%] Built target c4core-bm-charconv-atox-uint64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json 2022-03-03T02:24:10+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 1220 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.20, 1.08, 0.98 --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<int64_t> 7448 ns 7445 ns 93639 bytes_per_second=16.3958G/s items_per_second=2.2006G/s atox_c4_read_hex<int64_t> 7447 ns 7445 ns 93726 bytes_per_second=16.397G/s items_per_second=2.20077G/s atox_c4_read_oct<int64_t> 7460 ns 7457 ns 93896 bytes_per_second=16.3697G/s items_per_second=2.19711G/s atox_c4_read_bin<int64_t> 7505 ns 7502 ns 93532 bytes_per_second=16.2717G/s items_per_second=2.18395G/s atox_c4_atoi<int64_t> 22224 ns 22215 ns 31521 bytes_per_second=5.49486G/s items_per_second=737.507M/s atox_c4_atox<int64_t> 22025 ns 22017 ns 31862 bytes_per_second=5.54448G/s items_per_second=744.167M/s atox_c4_from_chars<int64_t> 21997 ns 21989 ns 31832 bytes_per_second=5.55146G/s items_per_second=745.105M/s atox_std_from_chars<int64_t> 22672 ns 22664 ns 30866 bytes_per_second=5.38609G/s items_per_second=722.908M/s atox_std_atol<int64_t> 358463 ns 358182 ns 1963 bytes_per_second=348.985M/s items_per_second=45.7422M/s atox_std_strtoll<int64_t> 354000 ns 353776 ns 1983 bytes_per_second=353.331M/s items_per_second=46.3118M/s atox_scanf<int64_t> 1480604 ns 1479688 ns 474 bytes_per_second=84.4773M/s items_per_second=11.0726M/s atox_sstream_reuse<int64_t> 1208493 ns 1207768 ns 578 bytes_per_second=103.497M/s items_per_second=13.5655M/s atox_sstream<int64_t> 4865405 ns 4862704 ns 145 bytes_per_second=25.7059M/s items_per_second=3.36932M/s [100%] Built target c4core-bm-charconv-atox-int64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.9 --benchmark_filter=^atox.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json 2022-03-03T02:24:22+00:00 Running ./c4core-bm-charconv-0.1.9 Run on (20 X 2992.24 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.17, 1.08, 0.98 ---------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------- atox_c4_atof<float> 289916 ns 289809 ns 2405 bytes_per_second=215.659M/s items_per_second=56.5338M/s atox_c4_atox<float> 283545 ns 283441 ns 2486 bytes_per_second=220.504M/s items_per_second=57.8038M/s atox_c4_from_chars<float> 289491 ns 289385 ns 2408 bytes_per_second=215.975M/s items_per_second=56.6167M/s atox_ryu_s2f<float> 395913 ns 395772 ns 1762 bytes_per_second=157.919M/s items_per_second=41.3975M/s atox_fast_float<float> 288828 ns 288722 ns 2423 bytes_per_second=216.471M/s items_per_second=56.7465M/s atox_fp_from_chars_limited<float> 7473 ns 7471 ns 93660 bytes_per_second=8.16986G/s items_per_second=2.19308G/s atox_fp_from_chars_unlimited<float> 7472 ns 7470 ns 93643 bytes_per_second=8.17119G/s items_per_second=2.19344G/s atox_std_atof<float> 1412312 ns 1411804 ns 497 bytes_per_second=44.2696M/s items_per_second=11.605M/s atox_std_strtof<float> 1363483 ns 1363003 ns 513 bytes_per_second=45.8546M/s items_per_second=12.0205M/s atox_std_stof<float> 1380917 ns 1380410 ns 510 bytes_per_second=45.2764M/s items_per_second=11.8689M/s atox_scanf<float> 2526923 ns 2526074 ns 277 bytes_per_second=24.742M/s items_per_second=6.48595M/s atox_sstream_reuse<float> 3034278 ns 3033147 ns 230 bytes_per_second=20.6057M/s items_per_second=5.40165M/s atox_sstream<float> 6834042 ns 6831670 ns 102 bytes_per_second=9.14857M/s items_per_second=2.39824M/s ``` |
||
|
|
eb556c8064 | [bm] charconv: ensure consistency for the benchmarks | ||
|
|
4e2fca50d1 |
Add integer overflow detection feature
- added bool overflows<T>(csubstr) function |
||
|
|
170509d06a | [bm] use amalgamated fast float in benchmarks | ||
|
|
5a5783d35c | [fix] ryu does not work in windows x86 | ||
|
|
d5559e74cf |
[bm] add dump benchmarks
``` [ 58%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-double.json 2022-02-13T03:27:20+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.89, 1.96, 1.45 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ----------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------- atox_c4_atod<double> 21.4 ns 21.4 ns 32727663 bytes_per_second=356.978M/s items_per_second=46.7898M/s atox_c4_atox<double> 21.4 ns 21.4 ns 32595934 bytes_per_second=356.527M/s items_per_second=46.7307M/s atox_c4_from_chars<double> 21.7 ns 21.7 ns 32427241 bytes_per_second=351.647M/s items_per_second=46.0911M/s atox_ryu_s2d<double> 28.9 ns 28.9 ns 24360587 bytes_per_second=264.449M/s items_per_second=34.6619M/s atox_fast_float<double> 22.7 ns 22.7 ns 30587776 bytes_per_second=336.188M/s items_per_second=44.0649M/s atox_fp_from_chars_limited<double> 7.71 ns 7.71 ns 89850594 bytes_per_second=989.843M/s items_per_second=129.741M/s atox_fp_from_chars_unlimited<double> 7.75 ns 7.74 ns 90251076 bytes_per_second=985.446M/s items_per_second=129.164M/s atox_std_atof<double> 91.4 ns 91.4 ns 7598662 bytes_per_second=83.4681M/s items_per_second=10.9403M/s atox_std_strtod<double> 91.8 ns 91.8 ns 7628285 bytes_per_second=83.1324M/s items_per_second=10.8963M/s atox_std_stod<double> 91.2 ns 91.2 ns 7565786 bytes_per_second=83.6789M/s items_per_second=10.968M/s atox_scanf<double> 165 ns 165 ns 4241953 bytes_per_second=46.3275M/s items_per_second=6.07223M/s atox_sstream<double> 427 ns 426 ns 1623873 bytes_per_second=17.8895M/s items_per_second=2.34482M/s atox_sstream_reuse<double> 189 ns 189 ns 3674271 bytes_per_second=40.2846M/s items_per_second=5.28018M/s [ 58%] Built target c4core-bm-charconv-atox-double Consolidate compiler generated dependencies of target c4core-bm-format [ 58%] Building CXX object bm/CMakeFiles/c4core-bm-format.dir/bm_format.cpp.o [ 58%] Linking CXX executable c4core-bm-format [ 58%] Built target c4core-bm-format [ 58%] Built target c4core-bm-build [ 58%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-cat: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^cat_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-cat.json 2022-02-13T03:27:36+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.97, 1.98, 1.47 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------- cat_c4cat_substr 63.3 ns 63.3 ns 11011836 bytes_per_second=1.16238G/s items_per_second=15.7986M/s cat_c4catrs_reuse 50.7 ns 50.7 ns 13647255 bytes_per_second=1.45216G/s items_per_second=19.7373M/s cat_c4catrs_no_reuse 112 ns 112 ns 6746318 bytes_per_second=674.508M/s items_per_second=8.95282M/s cat_c4catdump_c_style_static_dispatch 181 ns 181 ns 3697847 bytes_per_second=415.89M/s items_per_second=5.52015M/s cat_c4catdump_c_style_dynamic_dispatch 176 ns 176 ns 5631212 bytes_per_second=281.179M/s items_per_second=5.66995M/s cat_c4catdump_cpp_style 185 ns 184 ns 4594085 bytes_per_second=268.905M/s items_per_second=5.42245M/s cat_c4catdump_lambda_style 181 ns 181 ns 4683862 bytes_per_second=273.488M/s items_per_second=5.51487M/s cat_std_to_string_reuse 150 ns 150 ns 4578789 bytes_per_second=502.933M/s items_per_second=6.67549M/s cat_std_to_string_no_reuse 190 ns 190 ns 3684169 bytes_per_second=396.868M/s items_per_second=5.26768M/s cat_stdsstream_reuse 286 ns 286 ns 2451570 bytes_per_second=263.882M/s items_per_second=3.50254M/s cat_stdsstream_no_reuse 565 ns 565 ns 1235602 bytes_per_second=133.449M/s items_per_second=1.77129M/s [ 58%] Built target c4core-bm-format-cat [ 58%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsep: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^catsep_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsep.json 2022-02-13T03:27:46+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.98, 1.98, 1.47 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ---------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------------- catsep_c4cat_substr 91.5 ns 91.4 ns 7169754 bytes_per_second=938.83M/s items_per_second=10.9382M/s catsep_c4catrs_reuse 93.9 ns 93.9 ns 7510948 bytes_per_second=914.376M/s items_per_second=10.6533M/s catsep_c4catrs_no_reuse 163 ns 163 ns 4356238 bytes_per_second=843.186M/s items_per_second=6.1399M/s catsep_c4catdump_c_style_static_dispatch 333 ns 333 ns 2394638 bytes_per_second=257.559M/s items_per_second=3.00078M/s catsep_c4catdump_c_style_dynamic_dispatch 319 ns 319 ns 3578867 bytes_per_second=155.519M/s items_per_second=3.13603M/s catsep_c4catdump_cpp_style 286 ns 286 ns 2363487 bytes_per_second=173.429M/s items_per_second=3.49718M/s catsep_c4catdump_lambda_style 252 ns 252 ns 3054985 bytes_per_second=196.879M/s items_per_second=3.97005M/s catsep_std_to_string_reuse 213 ns 213 ns 3144305 bytes_per_second=688.48M/s items_per_second=4.68781M/s catsep_std_to_string_no_reuse 283 ns 283 ns 2459941 bytes_per_second=518.738M/s items_per_second=3.53205M/s catsep_stdsstream_reuse 300 ns 300 ns 2340987 bytes_per_second=282.657M/s items_per_second=3.3302M/s catsep_stdsstream_no_reuse 603 ns 602 ns 1155501 bytes_per_second=140.891M/s items_per_second=1.65994M/s [ 58%] Built target c4core-bm-format-catsep [ 58%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-format: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^format_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-format.json 2022-02-13T03:27:57+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 2.06, 2.00, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------------------------- format_c4format 207 ns 207 ns 3412803 bytes_per_second=1005.33M/s items_per_second=4.83563M/s format_c4formatrs_reuse 209 ns 209 ns 3312976 bytes_per_second=994.184M/s items_per_second=4.78201M/s format_c4formatrs_no_reuse 438 ns 438 ns 1596589 bytes_per_second=474.488M/s items_per_second=2.28228M/s format_c4formatdump_c_style_static_dispatch 402 ns 401 ns 1618437 bytes_per_second=517.94M/s items_per_second=2.49128M/s format_c4formatdump_c_style_dynamic_dispatch 332 ns 331 ns 2092228 bytes_per_second=627.372M/s items_per_second=3.01765M/s format_c4formatdump_cpp_style 471 ns 471 ns 1591441 bytes_per_second=441.537M/s items_per_second=2.12379M/s format_c4formatdump_lambda_style 481 ns 481 ns 1584533 bytes_per_second=432.44M/s items_per_second=2.08003M/s format_snprintf 384 ns 384 ns 1840143 bytes_per_second=541.214M/s items_per_second=2.60323M/s [ 58%] Built target c4core-bm-format-format [ 58%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^catfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catfile.json 2022-02-13T03:28:06+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.90, 1.97, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ----------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------- catfile_c4catdump_c_style_static_dispatch 255 ns 254 ns 2734355 bytes_per_second=296.124M/s items_per_second=3.93049M/s catfile_c4catdump_c_style_dynamic_dispatch 261 ns 260 ns 2712639 bytes_per_second=289.333M/s items_per_second=3.84036M/s catfile_c4catdump_cpp_style 257 ns 257 ns 2735067 bytes_per_second=193.232M/s items_per_second=3.89651M/s catfile_c4catdump_lambda_style 259 ns 258 ns 2728147 bytes_per_second=191.856M/s items_per_second=3.86875M/s catfile_fprintf 488 ns 488 ns 1439737 bytes_per_second=154.347M/s items_per_second=2.04866M/s catfile_ofstream 370 ns 370 ns 1934047 bytes_per_second=203.649M/s items_per_second=2.70305M/s [ 58%] Built target c4core-bm-format-catfile [ 66%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-catsepfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^catsepfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-catsepfile.json 2022-02-13T03:28:14+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.91, 1.97, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- catsepfile_c4catsepdump_c_style_static_dispatch 436 ns 435 ns 1559862 bytes_per_second=315.418M/s items_per_second=2.2968M/s catsepfile_c4catsepdump_c_style_dynamic_dispatch 442 ns 442 ns 1585995 bytes_per_second=310.752M/s items_per_second=2.26282M/s catsepfile_c4catsepdump_cpp_style 444 ns 444 ns 1583386 bytes_per_second=309.447M/s items_per_second=2.25333M/s catsepfile_c4catsepdump_lambda_style 442 ns 441 ns 1591016 bytes_per_second=311.07M/s items_per_second=2.26514M/s catsepfile_fprintf 762 ns 762 ns 916324 bytes_per_second=180.213M/s items_per_second=1.31227M/s catsepfile_ofstream 529 ns 528 ns 1315248 bytes_per_second=259.88M/s items_per_second=1.89239M/s [ 66%] Built target c4core-bm-format-catsepfile [ 66%] c4core: running benchmark c4core-bm-format, case c4core-bm-format-formatfile: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-format-0.1.8 --benchmark_filter=^formatfile_.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-format-formatfile.json 2022-02-13T03:28:21+00:00 Running ./c4core-bm-format-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.77, 1.93, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ----------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------------------------------- formatfile_c4formatdump_c_style_static_dispatch 581 ns 581 ns 1203420 bytes_per_second=357.741M/s items_per_second=1.72073M/s formatfile_c4formatdump_c_style_dynamic_dispatch 613 ns 613 ns 1059127 bytes_per_second=339.138M/s items_per_second=1.63125M/s formatfile_c4formatdump_cpp_style 587 ns 586 ns 1179019 bytes_per_second=354.634M/s items_per_second=1.70579M/s formatfile_c4formatdump_lambda_style 594 ns 593 ns 1185183 bytes_per_second=350.408M/s items_per_second=1.68546M/s formatfile_fprintf 491 ns 490 ns 1412993 bytes_per_second=423.898M/s items_per_second=2.03894M/s [ 66%] Built target c4core-bm-format-formatfile [ 66%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint8.json 2022-02-13T03:28:27+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.70, 1.92, 1.47 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint8_t> 3.65 ns 3.65 ns 192203964 bytes_per_second=261.335M/s items_per_second=274.03M/s xtoa_c4_write_hex<uint8_t> 2.46 ns 2.46 ns 282889028 bytes_per_second=387.689M/s items_per_second=406.522M/s xtoa_c4_write_oct<uint8_t> 2.62 ns 2.62 ns 267088227 bytes_per_second=364.582M/s items_per_second=382.292M/s xtoa_c4_write_bin<uint8_t> 5.80 ns 5.80 ns 120410966 bytes_per_second=164.563M/s items_per_second=172.557M/s xtoa_c4_utoa<uint8_t> 3.72 ns 3.72 ns 188038687 bytes_per_second=256.51M/s items_per_second=268.97M/s xtoa_c4_xtoa<uint8_t> 7.09 ns 7.09 ns 99772682 bytes_per_second=134.517M/s items_per_second=141.052M/s xtoa_c4_to_chars<uint8_t> 3.69 ns 3.69 ns 189740255 bytes_per_second=258.695M/s items_per_second=271.261M/s xtoa_std_to_string<uint8_t> 4.89 ns 4.88 ns 142750229 bytes_per_second=195.251M/s items_per_second=204.736M/s xtoa_sprintf<uint8_t> 47.2 ns 47.2 ns 14887351 bytes_per_second=20.2256M/s items_per_second=21.2081M/s xtoa_sstream_reuse<uint8_t> 18.9 ns 18.9 ns 37124241 bytes_per_second=50.5696M/s items_per_second=53.026M/s xtoa_sstream<uint8_t> 242 ns 242 ns 2920084 bytes_per_second=3.93738M/s items_per_second=4.12865M/s [ 66%] Built target c4core-bm-charconv-xtoa-uint8 [ 66%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int8.json 2022-02-13T03:28:38+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.60, 1.89, 1.47 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_write_dec<int8_t> 3.58 ns 3.58 ns 194726287 bytes_per_second=266.542M/s items_per_second=279.49M/s xtoa_c4_write_hex<int8_t> 3.09 ns 3.09 ns 226782028 bytes_per_second=308.892M/s items_per_second=323.897M/s xtoa_c4_write_oct<int8_t> 3.01 ns 3.01 ns 232120548 bytes_per_second=316.89M/s items_per_second=332.284M/s xtoa_c4_write_bin<int8_t> 5.18 ns 5.18 ns 135810641 bytes_per_second=184.092M/s items_per_second=193.034M/s xtoa_c4_itoa<int8_t> 4.23 ns 4.23 ns 165061770 bytes_per_second=225.642M/s items_per_second=236.603M/s xtoa_c4_xtoa<int8_t> 9.52 ns 9.52 ns 73696495 bytes_per_second=100.215M/s items_per_second=105.083M/s xtoa_c4_to_chars<int8_t> 4.38 ns 4.38 ns 159514559 bytes_per_second=217.818M/s items_per_second=228.399M/s xtoa_std_to_string<int8_t> 5.44 ns 5.43 ns 147637061 bytes_per_second=175.507M/s items_per_second=184.032M/s xtoa_sprintf<int8_t> 45.2 ns 45.2 ns 15573544 bytes_per_second=21.1032M/s items_per_second=22.1283M/s xtoa_sstream_reuse<int8_t> 18.0 ns 18.0 ns 39531968 bytes_per_second=52.9859M/s items_per_second=55.5597M/s xtoa_sstream<int8_t> 245 ns 244 ns 2869691 bytes_per_second=3.90184M/s items_per_second=4.09138M/s [ 66%] Built target c4core-bm-charconv-xtoa-int8 [ 66%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint16.json 2022-02-13T03:28:50+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.69, 1.89, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint16_t> 7.37 ns 7.37 ns 90921403 bytes_per_second=258.951M/s items_per_second=135.765M/s xtoa_c4_write_hex<uint16_t> 4.53 ns 4.53 ns 156333232 bytes_per_second=421.341M/s items_per_second=220.904M/s xtoa_c4_write_oct<uint16_t> 4.74 ns 4.74 ns 146456891 bytes_per_second=402.198M/s items_per_second=210.868M/s xtoa_c4_write_bin<uint16_t> 12.7 ns 12.7 ns 55167453 bytes_per_second=150.34M/s items_per_second=78.8214M/s xtoa_c4_utoa<uint16_t> 6.59 ns 6.59 ns 105213965 bytes_per_second=289.613M/s items_per_second=151.84M/s xtoa_c4_xtoa<uint16_t> 7.22 ns 7.21 ns 97663280 bytes_per_second=264.412M/s items_per_second=138.628M/s xtoa_c4_to_chars<uint16_t> 7.58 ns 7.58 ns 92670237 bytes_per_second=251.658M/s items_per_second=131.941M/s xtoa_std_to_string<uint16_t> 6.37 ns 6.37 ns 109131204 bytes_per_second=299.54M/s items_per_second=157.045M/s xtoa_sprintf<uint16_t> 48.0 ns 47.9 ns 14632088 bytes_per_second=39.7824M/s items_per_second=20.8574M/s xtoa_sstream_reuse<uint16_t> 28.7 ns 28.6 ns 24727992 bytes_per_second=66.5863M/s items_per_second=34.9104M/s xtoa_sstream<uint16_t> 268 ns 268 ns 2648190 bytes_per_second=7.12618M/s items_per_second=3.73617M/s [ 66%] Built target c4core-bm-charconv-xtoa-uint16 [ 66%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int16.json 2022-02-13T03:29:00+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.66, 1.88, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int16_t> 6.32 ns 6.32 ns 110410770 bytes_per_second=301.839M/s items_per_second=158.25M/s xtoa_c4_write_hex<int16_t> 3.62 ns 3.61 ns 195311772 bytes_per_second=527.711M/s items_per_second=276.672M/s xtoa_c4_write_oct<int16_t> 4.20 ns 4.20 ns 167310632 bytes_per_second=454.67M/s items_per_second=238.378M/s xtoa_c4_write_bin<int16_t> 12.9 ns 12.9 ns 54336201 bytes_per_second=147.469M/s items_per_second=77.3161M/s xtoa_c4_itoa<int16_t> 6.96 ns 6.96 ns 99740627 bytes_per_second=274.211M/s items_per_second=143.765M/s xtoa_c4_xtoa<int16_t> 12.6 ns 12.6 ns 55302868 bytes_per_second=151.051M/s items_per_second=79.1943M/s xtoa_c4_to_chars<int16_t> 6.83 ns 6.83 ns 102998879 bytes_per_second=279.408M/s items_per_second=146.49M/s xtoa_std_to_string<int16_t> 7.41 ns 7.41 ns 93410054 bytes_per_second=257.528M/s items_per_second=135.019M/s xtoa_sprintf<int16_t> 48.6 ns 48.6 ns 14403688 bytes_per_second=39.2591M/s items_per_second=20.5831M/s xtoa_sstream_reuse<int16_t> 31.6 ns 31.6 ns 22326428 bytes_per_second=60.4184M/s items_per_second=31.6767M/s xtoa_sstream<int16_t> 269 ns 269 ns 2629718 bytes_per_second=7.10323M/s items_per_second=3.72414M/s [ 66%] Built target c4core-bm-charconv-xtoa-int16 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint32.json 2022-02-13T03:29:11+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.86, 1.92, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint32_t> 9.94 ns 9.94 ns 81685561 bytes_per_second=383.856M/s items_per_second=100.626M/s xtoa_c4_write_hex<uint32_t> 8.06 ns 8.05 ns 99241463 bytes_per_second=473.629M/s items_per_second=124.159M/s xtoa_c4_write_oct<uint32_t> 7.70 ns 7.70 ns 101003372 bytes_per_second=495.549M/s items_per_second=129.905M/s xtoa_c4_write_bin<uint32_t> 18.9 ns 18.9 ns 40143352 bytes_per_second=201.975M/s items_per_second=52.9466M/s xtoa_c4_utoa<uint32_t> 12.6 ns 12.6 ns 60365177 bytes_per_second=303.14M/s items_per_second=79.4663M/s xtoa_c4_xtoa<uint32_t> 16.1 ns 16.0 ns 43757538 bytes_per_second=237.71M/s items_per_second=62.3142M/s xtoa_c4_to_chars<uint32_t> 12.0 ns 12.0 ns 66025537 bytes_per_second=317.274M/s items_per_second=83.1714M/s xtoa_std_to_string<uint32_t> 10.3 ns 10.3 ns 74603102 bytes_per_second=370.521M/s items_per_second=97.13M/s xtoa_sprintf<uint32_t> 49.3 ns 49.3 ns 14313902 bytes_per_second=77.3562M/s items_per_second=20.2785M/s xtoa_sstream_reuse<uint32_t> 30.4 ns 30.4 ns 23615052 bytes_per_second=125.651M/s items_per_second=32.9387M/s xtoa_sstream<uint32_t> 279 ns 279 ns 2523424 bytes_per_second=13.6551M/s items_per_second=3.5796M/s [ 75%] Built target c4core-bm-charconv-xtoa-uint32 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int32.json 2022-02-13T03:29:21+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.87, 1.92, 1.50 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int32_t> 9.56 ns 9.56 ns 80275226 bytes_per_second=399.188M/s items_per_second=104.645M/s xtoa_c4_write_hex<int32_t> 5.74 ns 5.73 ns 138755463 bytes_per_second=665.38M/s items_per_second=174.425M/s xtoa_c4_write_oct<int32_t> 7.71 ns 7.70 ns 101966096 bytes_per_second=495.163M/s items_per_second=129.804M/s xtoa_c4_write_bin<int32_t> 18.2 ns 18.2 ns 42001086 bytes_per_second=209.983M/s items_per_second=55.0458M/s xtoa_c4_itoa<int32_t> 9.77 ns 9.77 ns 82335340 bytes_per_second=390.492M/s items_per_second=102.365M/s xtoa_c4_xtoa<int32_t> 20.2 ns 20.2 ns 34665183 bytes_per_second=189.166M/s items_per_second=49.5887M/s xtoa_c4_to_chars<int32_t> 9.52 ns 9.52 ns 84619795 bytes_per_second=400.852M/s items_per_second=105.081M/s xtoa_std_to_string<int32_t> 9.22 ns 9.22 ns 74943251 bytes_per_second=413.87M/s items_per_second=108.493M/s xtoa_sprintf<int32_t> 49.9 ns 49.9 ns 14147870 bytes_per_second=76.4438M/s items_per_second=20.0393M/s xtoa_sstream_reuse<int32_t> 33.3 ns 33.3 ns 21295857 bytes_per_second=114.565M/s items_per_second=30.0324M/s xtoa_sstream<int32_t> 273 ns 273 ns 2564703 bytes_per_second=13.9816M/s items_per_second=3.6652M/s [ 75%] Built target c4core-bm-charconv-xtoa-int32 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-uint64.json 2022-02-13T03:29:32+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.89, 1.92, 1.50 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- xtoa_c4_write_dec<uint64_t> 12.2 ns 12.2 ns 67205461 bytes_per_second=624.663M/s items_per_second=81.8759M/s xtoa_c4_write_hex<uint64_t> 5.48 ns 5.48 ns 139879692 bytes_per_second=1.35963G/s items_per_second=182.486M/s xtoa_c4_write_oct<uint64_t> 10.7 ns 10.6 ns 72697553 bytes_per_second=716.504M/s items_per_second=93.9136M/s xtoa_c4_write_bin<uint64_t> 27.2 ns 27.2 ns 27764339 bytes_per_second=280.869M/s items_per_second=36.8141M/s xtoa_c4_utoa<uint64_t> 12.5 ns 12.5 ns 61759233 bytes_per_second=609.52M/s items_per_second=79.891M/s xtoa_c4_xtoa<uint64_t> 17.7 ns 17.7 ns 39313060 bytes_per_second=431.296M/s items_per_second=56.5308M/s xtoa_c4_to_chars<uint64_t> 11.4 ns 11.4 ns 71036437 bytes_per_second=672.08M/s items_per_second=88.0909M/s xtoa_std_to_string<uint64_t> 9.60 ns 9.60 ns 72815265 bytes_per_second=794.954M/s items_per_second=104.196M/s xtoa_sprintf<uint64_t> 51.4 ns 51.4 ns 13917146 bytes_per_second=148.347M/s items_per_second=19.4441M/s xtoa_sstream_reuse<uint64_t> 30.3 ns 30.3 ns 23408872 bytes_per_second=251.822M/s items_per_second=33.0068M/s xtoa_sstream<uint64_t> 266 ns 266 ns 2631300 bytes_per_second=28.726M/s items_per_second=3.76517M/s [ 75%] Built target c4core-bm-charconv-xtoa-uint64 [ 75%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-int64.json 2022-02-13T03:29:42+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.75, 1.89, 1.50 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- xtoa_c4_write_dec<int64_t> 11.2 ns 11.2 ns 67353049 bytes_per_second=679.903M/s items_per_second=89.1162M/s xtoa_c4_write_hex<int64_t> 6.07 ns 6.06 ns 127631853 bytes_per_second=1.22865G/s items_per_second=164.906M/s xtoa_c4_write_oct<int64_t> 10.1 ns 10.1 ns 75688318 bytes_per_second=755.459M/s items_per_second=99.0195M/s xtoa_c4_write_bin<int64_t> 28.1 ns 28.1 ns 26354275 bytes_per_second=271.274M/s items_per_second=35.5564M/s xtoa_c4_itoa<int64_t> 11.4 ns 11.4 ns 69699448 bytes_per_second=667.464M/s items_per_second=87.4859M/s xtoa_c4_xtoa<int64_t> 17.2 ns 17.2 ns 40303677 bytes_per_second=444.415M/s items_per_second=58.2504M/s xtoa_c4_to_chars<int64_t> 11.3 ns 11.2 ns 71110050 bytes_per_second=678.291M/s items_per_second=88.9049M/s xtoa_std_to_string<int64_t> 10.1 ns 10.1 ns 71484829 bytes_per_second=758.177M/s items_per_second=99.3758M/s xtoa_sprintf<int64_t> 50.9 ns 50.9 ns 10000000 bytes_per_second=149.854M/s items_per_second=19.6417M/s xtoa_sstream_reuse<int64_t> 32.7 ns 32.7 ns 21837971 bytes_per_second=233.609M/s items_per_second=30.6196M/s xtoa_sstream<int64_t> 282 ns 282 ns 2494575 bytes_per_second=27.0487M/s items_per_second=3.54533M/s [ 75%] Built target c4core-bm-charconv-xtoa-int64 [ 83%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-float.json 2022-02-13T03:29:51+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.63, 1.86, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------ Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------ xtoa_c4_ftoa<float> 209 ns 209 ns 3346469 bytes_per_second=18.2364M/s items_per_second=4.78056M/s xtoa_c4_xtoa<float> 208 ns 208 ns 3360639 bytes_per_second=18.3395M/s items_per_second=4.80758M/s xtoa_c4_to_chars<float> 211 ns 211 ns 3391464 bytes_per_second=18.0848M/s items_per_second=4.74083M/s xtoa_ryu_f2s<float> 23.6 ns 23.6 ns 29640298 bytes_per_second=161.58M/s items_per_second=42.3573M/s xtoa_std_to_string<float> 163 ns 163 ns 4325975 bytes_per_second=23.407M/s items_per_second=6.136M/s xtoa_sprintf<float> 154 ns 154 ns 4488261 bytes_per_second=24.749M/s items_per_second=6.4878M/s xtoa_sstream_reuse<float> 217 ns 217 ns 3189290 bytes_per_second=17.5623M/s items_per_second=4.60385M/s xtoa_sstream<float> 477 ns 476 ns 1490378 bytes_per_second=8.00842M/s items_per_second=2.09936M/s [ 83%] Built target c4core-bm-charconv-xtoa-float [ 83%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-xtoa-double: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^xtoa.*<double.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-xtoa-double.json 2022-02-13T03:29:59+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.66, 1.86, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- xtoa_c4_dtoa<double> 217 ns 217 ns 3218345 bytes_per_second=35.1699M/s items_per_second=4.60979M/s xtoa_c4_xtoa<double> 216 ns 216 ns 3175295 bytes_per_second=35.3359M/s items_per_second=4.63155M/s xtoa_c4_to_chars<double> 217 ns 217 ns 3248778 bytes_per_second=35.197M/s items_per_second=4.61334M/s xtoa_ryu_d2s<double> 27.5 ns 27.5 ns 25468800 bytes_per_second=277.035M/s items_per_second=36.3116M/s xtoa_std_to_string<double> 165 ns 165 ns 4194419 bytes_per_second=46.1624M/s items_per_second=6.0506M/s xtoa_sprintf<double> 159 ns 159 ns 4398880 bytes_per_second=47.9653M/s items_per_second=6.2869M/s xtoa_sstream_reuse<double> 222 ns 222 ns 3075000 bytes_per_second=34.3831M/s items_per_second=4.50666M/s xtoa_sstream<double> 471 ns 471 ns 1482895 bytes_per_second=16.196M/s items_per_second=2.12284M/s [ 83%] Built target c4core-bm-charconv-xtoa-double [ 83%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<uint8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint8.json 2022-02-13T03:30:07+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.72, 1.87, 1.50 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<uint8_t> 7.71 ns 7.71 ns 89856040 bytes_per_second=123.674M/s items_per_second=129.682M/s atox_c4_read_hex<uint8_t> 0.451 ns 0.450 ns 1000000000 bytes_per_second=2.06775G/s items_per_second=2.22023G/s atox_c4_read_oct<uint8_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=2.08255G/s items_per_second=2.23612G/s atox_c4_read_bin<uint8_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=2.08199G/s items_per_second=2.23552G/s atox_c4_atou<uint8_t> 10.6 ns 10.6 ns 64853256 bytes_per_second=89.8311M/s items_per_second=94.1947M/s atox_c4_atox<uint8_t> 10.8 ns 10.8 ns 63347536 bytes_per_second=88.4178M/s items_per_second=92.7128M/s atox_c4_from_chars<uint8_t> 10.5 ns 10.5 ns 66309184 bytes_per_second=90.8321M/s items_per_second=95.2443M/s atox_std_atoi<uint8_t> 19.1 ns 19.1 ns 38817201 bytes_per_second=49.9379M/s items_per_second=52.3637M/s atox_std_strtoul<uint8_t> 18.3 ns 18.3 ns 37725375 bytes_per_second=52.2462M/s items_per_second=54.7841M/s atox_scanf<uint8_t> 68.0 ns 68.0 ns 10311347 bytes_per_second=14.0253M/s items_per_second=14.7066M/s atox_sstream<uint8_t> 235 ns 235 ns 2974183 bytes_per_second=4.06259M/s items_per_second=4.25993M/s atox_sstream_reuse<uint8_t> 22.9 ns 22.9 ns 30603383 bytes_per_second=41.6948M/s items_per_second=43.7202M/s [ 83%] Built target c4core-bm-charconv-atox-uint8 [ 83%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int8: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<int8.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int8.json 2022-02-13T03:30:16+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.61, 1.84, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------- atox_c4_read_dec<int8_t> 7.78 ns 7.77 ns 86999654 bytes_per_second=122.661M/s items_per_second=128.619M/s atox_c4_read_hex<int8_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=2.08221G/s items_per_second=2.23576G/s atox_c4_read_oct<int8_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=2.08337G/s items_per_second=2.237G/s atox_c4_read_bin<int8_t> 0.454 ns 0.453 ns 1000000000 bytes_per_second=2.05421G/s items_per_second=2.20569G/s atox_c4_atoi<int8_t> 12.6 ns 12.6 ns 55491583 bytes_per_second=75.9516M/s items_per_second=79.6411M/s atox_c4_atox<int8_t> 12.4 ns 12.4 ns 55998211 bytes_per_second=76.7392M/s items_per_second=80.4669M/s atox_c4_from_chars<int8_t> 12.5 ns 12.5 ns 56054575 bytes_per_second=76.3265M/s items_per_second=80.0341M/s atox_std_atoi<int8_t> 20.0 ns 20.0 ns 35382678 bytes_per_second=47.6747M/s items_per_second=49.9905M/s atox_std_strtol<int8_t> 20.0 ns 20.0 ns 34551215 bytes_per_second=47.6806M/s items_per_second=49.9967M/s atox_scanf<int8_t> 74.1 ns 74.1 ns 9400080 bytes_per_second=12.8689M/s items_per_second=13.494M/s atox_sstream<int8_t> 241 ns 241 ns 2902483 bytes_per_second=3.95176M/s items_per_second=4.14372M/s atox_sstream_reuse<int8_t> 23.2 ns 23.2 ns 30046191 bytes_per_second=41.1542M/s items_per_second=43.1533M/s [ 83%] Built target c4core-bm-charconv-atox-int8 [ 83%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<uint16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint16.json 2022-02-13T03:30:26+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.51, 1.81, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<uint16_t> 7.76 ns 7.75 ns 89910953 bytes_per_second=245.965M/s items_per_second=128.957M/s atox_c4_read_hex<uint16_t> 0.448 ns 0.448 ns 1000000000 bytes_per_second=4.15811G/s items_per_second=2.23237G/s atox_c4_read_oct<uint16_t> 0.448 ns 0.448 ns 1000000000 bytes_per_second=4.15571G/s items_per_second=2.23108G/s atox_c4_read_bin<uint16_t> 0.448 ns 0.448 ns 1000000000 bytes_per_second=4.16056G/s items_per_second=2.23368G/s atox_c4_atou<uint16_t> 10.8 ns 10.8 ns 63926060 bytes_per_second=175.904M/s items_per_second=92.2242M/s atox_c4_atox<uint16_t> 10.8 ns 10.8 ns 64826339 bytes_per_second=176.203M/s items_per_second=92.3813M/s atox_c4_from_chars<uint16_t> 10.9 ns 10.9 ns 64526232 bytes_per_second=175.558M/s items_per_second=92.043M/s atox_std_atoi<uint16_t> 19.1 ns 19.1 ns 36590294 bytes_per_second=100.028M/s items_per_second=52.4435M/s atox_std_strtoul<uint16_t> 19.5 ns 19.5 ns 36142643 bytes_per_second=97.9782M/s items_per_second=51.3688M/s atox_scanf<uint16_t> 73.1 ns 73.1 ns 9517472 bytes_per_second=26.0936M/s items_per_second=13.6805M/s atox_sstream<uint16_t> 281 ns 281 ns 2534360 bytes_per_second=6.78398M/s items_per_second=3.55676M/s atox_sstream_reuse<uint16_t> 62.1 ns 62.0 ns 11082245 bytes_per_second=30.7458M/s items_per_second=16.1197M/s [ 83%] Built target c4core-bm-charconv-atox-uint16 [ 91%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int16: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<int16.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int16.json 2022-02-13T03:30:35+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.59, 1.82, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<int16_t> 7.73 ns 7.72 ns 89364564 bytes_per_second=246.949M/s items_per_second=129.472M/s atox_c4_read_hex<int16_t> 0.450 ns 0.450 ns 1000000000 bytes_per_second=4.13865G/s items_per_second=2.22192G/s atox_c4_read_oct<int16_t> 0.449 ns 0.449 ns 1000000000 bytes_per_second=4.15206G/s items_per_second=2.22912G/s atox_c4_read_bin<int16_t> 0.449 ns 0.449 ns 1000000000 bytes_per_second=4.15289G/s items_per_second=2.22957G/s atox_c4_atoi<int16_t> 13.9 ns 13.9 ns 50286113 bytes_per_second=137.094M/s items_per_second=71.8766M/s atox_c4_atox<int16_t> 13.9 ns 13.9 ns 49771099 bytes_per_second=137.376M/s items_per_second=72.0248M/s atox_c4_from_chars<int16_t> 13.9 ns 13.9 ns 49541236 bytes_per_second=137.412M/s items_per_second=72.0434M/s atox_std_atoi<int16_t> 23.6 ns 23.6 ns 29753969 bytes_per_second=80.7225M/s items_per_second=42.3218M/s atox_std_strtol<int16_t> 23.6 ns 23.6 ns 29567538 bytes_per_second=80.7876M/s items_per_second=42.356M/s atox_scanf<int16_t> 80.0 ns 80.0 ns 8725270 bytes_per_second=23.8388M/s items_per_second=12.4984M/s atox_sstream<int16_t> 297 ns 297 ns 2378746 bytes_per_second=6.42497M/s items_per_second=3.36854M/s atox_sstream_reuse<int16_t> 70.9 ns 70.9 ns 9826445 bytes_per_second=26.8936M/s items_per_second=14.1M/s [ 91%] Built target c4core-bm-charconv-atox-int16 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<uint32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint32.json 2022-02-13T03:30:44+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.50, 1.79, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<uint32_t> 7.71 ns 7.70 ns 81261052 bytes_per_second=495.164M/s items_per_second=129.804M/s atox_c4_read_hex<uint32_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=8.34152G/s items_per_second=2.23916G/s atox_c4_read_oct<uint32_t> 0.448 ns 0.448 ns 1000000000 bytes_per_second=8.31352G/s items_per_second=2.23164G/s atox_c4_read_bin<uint32_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=8.34034G/s items_per_second=2.23884G/s atox_c4_atou<uint32_t> 13.5 ns 13.5 ns 51791103 bytes_per_second=283.005M/s items_per_second=74.188M/s atox_c4_atox<uint32_t> 13.4 ns 13.4 ns 52610213 bytes_per_second=285.621M/s items_per_second=74.8738M/s atox_c4_from_chars<uint32_t> 13.5 ns 13.5 ns 51939231 bytes_per_second=282.651M/s items_per_second=74.0953M/s atox_std_atoi<uint32_t> 26.7 ns 26.7 ns 26205947 bytes_per_second=142.758M/s items_per_second=37.4232M/s atox_std_strtoul<uint32_t> 24.8 ns 24.8 ns 28261076 bytes_per_second=153.697M/s items_per_second=40.2906M/s atox_scanf<uint32_t> 89.8 ns 89.8 ns 7743534 bytes_per_second=42.4939M/s items_per_second=11.1395M/s atox_sstream<uint32_t> 298 ns 298 ns 2332420 bytes_per_second=12.8211M/s items_per_second=3.36097M/s atox_sstream_reuse<uint32_t> 73.2 ns 73.2 ns 9573889 bytes_per_second=52.1068M/s items_per_second=13.6595M/s [100%] Built target c4core-bm-charconv-atox-uint32 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int32: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<int32.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int32.json 2022-02-13T03:30:54+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.46, 1.78, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<int32_t> 7.84 ns 7.84 ns 80500327 bytes_per_second=486.728M/s items_per_second=127.593M/s atox_c4_read_hex<int32_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=8.32855G/s items_per_second=2.23568G/s atox_c4_read_oct<int32_t> 0.447 ns 0.447 ns 1000000000 bytes_per_second=8.33417G/s items_per_second=2.23719G/s atox_c4_read_bin<int32_t> 0.448 ns 0.448 ns 1000000000 bytes_per_second=8.31433G/s items_per_second=2.23186G/s atox_c4_atoi<int32_t> 18.6 ns 18.6 ns 37418138 bytes_per_second=204.722M/s items_per_second=53.6667M/s atox_c4_atox<int32_t> 18.7 ns 18.7 ns 37646051 bytes_per_second=204.479M/s items_per_second=53.6029M/s atox_c4_from_chars<int32_t> 18.8 ns 18.8 ns 36839962 bytes_per_second=203.166M/s items_per_second=53.2586M/s atox_std_atoi<int32_t> 31.0 ns 31.0 ns 22527097 bytes_per_second=122.927M/s items_per_second=32.2245M/s atox_std_strtol<int32_t> 31.1 ns 31.1 ns 22357403 bytes_per_second=122.681M/s items_per_second=32.1601M/s atox_scanf<int32_t> 97.2 ns 97.2 ns 7155946 bytes_per_second=39.2444M/s items_per_second=10.2877M/s atox_sstream<int32_t> 309 ns 309 ns 2253515 bytes_per_second=12.3484M/s items_per_second=3.23706M/s atox_sstream_reuse<int32_t> 88.2 ns 88.2 ns 7830651 bytes_per_second=43.2676M/s items_per_second=11.3423M/s [100%] Built target c4core-bm-charconv-atox-int32 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-uint64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<uint64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-uint64.json 2022-02-13T03:31:04+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.46, 1.77, 1.49 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. --------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... --------------------------------------------------------------------------------------- atox_c4_read_dec<uint64_t> 7.72 ns 7.72 ns 85327288 bytes_per_second=988.746M/s items_per_second=129.597M/s atox_c4_read_hex<uint64_t> 0.446 ns 0.446 ns 1000000000 bytes_per_second=16.6992G/s items_per_second=2.24133G/s atox_c4_read_oct<uint64_t> 0.446 ns 0.446 ns 1000000000 bytes_per_second=16.7152G/s items_per_second=2.24348G/s atox_c4_read_bin<uint64_t> 0.446 ns 0.446 ns 1000000000 bytes_per_second=16.7216G/s items_per_second=2.24434G/s atox_c4_atou<uint64_t> 13.5 ns 13.5 ns 51507080 bytes_per_second=566.622M/s items_per_second=74.2682M/s atox_c4_atox<uint64_t> 13.3 ns 13.3 ns 52562435 bytes_per_second=573.914M/s items_per_second=75.224M/s atox_c4_from_chars<uint64_t> 13.6 ns 13.5 ns 51811512 bytes_per_second=563.173M/s items_per_second=73.8162M/s atox_std_atol<uint64_t> 26.6 ns 26.6 ns 26354729 bytes_per_second=286.409M/s items_per_second=37.5402M/s atox_std_strtoull<uint64_t> 24.6 ns 24.6 ns 28502054 bytes_per_second=309.607M/s items_per_second=40.5809M/s atox_scanf<uint64_t> 90.5 ns 90.4 ns 7719214 bytes_per_second=84.3526M/s items_per_second=11.0563M/s atox_sstream<uint64_t> 298 ns 298 ns 2355163 bytes_per_second=25.58M/s items_per_second=3.35282M/s atox_sstream_reuse<uint64_t> 75.3 ns 75.3 ns 9262492 bytes_per_second=101.376M/s items_per_second=13.2875M/s [100%] Built target c4core-bm-charconv-atox-uint64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-int64: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<int64.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-int64.json 2022-02-13T03:31:13+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.39, 1.74, 1.48 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. -------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... -------------------------------------------------------------------------------------- atox_c4_read_dec<int64_t> 7.73 ns 7.73 ns 89860490 bytes_per_second=987.546M/s items_per_second=129.44M/s atox_c4_read_hex<int64_t> 0.450 ns 0.449 ns 1000000000 bytes_per_second=16.58G/s items_per_second=2.22533G/s atox_c4_read_oct<int64_t> 0.447 ns 0.446 ns 1000000000 bytes_per_second=16.6892G/s items_per_second=2.23998G/s atox_c4_read_bin<int64_t> 0.446 ns 0.446 ns 1000000000 bytes_per_second=16.693G/s items_per_second=2.2405G/s atox_c4_atoi<int64_t> 13.7 ns 13.7 ns 51159530 bytes_per_second=556.104M/s items_per_second=72.8897M/s atox_c4_atox<int64_t> 13.7 ns 13.6 ns 51229973 bytes_per_second=558.933M/s items_per_second=73.2605M/s atox_c4_from_chars<int64_t> 13.7 ns 13.7 ns 51167779 bytes_per_second=557.494M/s items_per_second=73.0719M/s atox_std_atol<int64_t> 26.7 ns 26.7 ns 26050434 bytes_per_second=285.931M/s items_per_second=37.4775M/s atox_std_strtoll<int64_t> 26.3 ns 26.2 ns 26658542 bytes_per_second=290.69M/s items_per_second=38.1013M/s atox_scanf<int64_t> 94.6 ns 94.6 ns 7176631 bytes_per_second=80.6836M/s items_per_second=10.5754M/s atox_sstream<int64_t> 295 ns 295 ns 2373042 bytes_per_second=25.9027M/s items_per_second=3.39512M/s atox_sstream_reuse<int64_t> 77.0 ns 76.9 ns 9069388 bytes_per_second=99.1754M/s items_per_second=12.9991M/s [100%] Built target c4core-bm-charconv-atox-int64 [100%] c4core: running benchmark c4core-bm-charconv, case c4core-bm-charconv-atox-float: saving results in /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json /home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/c4core-bm-charconv-0.1.8 --benchmark_filter=^atox.*<float.*;--benchmark_out_format=json;--benchmark_out=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm/bm-results/c4core-bm-charconv-atox-float.json 2022-02-13T03:31:23+00:00 Running ./c4core-bm-charconv-0.1.8 Run on (20 X 4500 MHz CPU s) CPU Caches: L1 Data 32 KiB (x10) L1 Instruction 32 KiB (x10) L2 Unified 1024 KiB (x10) L3 Unified 19712 KiB (x1) Load Average: 1.33, 1.72, 1.47 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead. ---------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ---------------------------------------------------------------------------------------------- atox_c4_atof<float> 21.6 ns 21.6 ns 32600566 bytes_per_second=176.287M/s items_per_second=46.2127M/s atox_c4_atox<float> 21.8 ns 21.8 ns 32020646 bytes_per_second=174.769M/s items_per_second=45.8146M/s atox_c4_from_chars<float> 21.4 ns 21.4 ns 32535027 bytes_per_second=177.898M/s items_per_second=46.6348M/s atox_ryu_s2f<float> 28.0 ns 27.9 ns 25164483 bytes_per_second=136.498M/s items_per_second=35.7822M/s atox_fast_float<float> 22.0 ns 22.0 ns 31770880 bytes_per_second=173.266M/s items_per_second=45.4206M/s atox_fp_from_chars_limited<float> 7.64 ns 7.64 ns 91354815 bytes_per_second=499.393M/s items_per_second=130.913M/s atox_fp_from_chars_unlimited<float> 7.62 ns 7.62 ns 91961849 bytes_per_second=500.803M/s items_per_second=131.282M/s atox_std_atof<float> 89.8 ns 89.8 ns 7820264 bytes_per_second=42.493M/s items_per_second=11.1393M/s atox_std_strtof<float> 86.9 ns 86.9 ns 8054319 bytes_per_second=43.9183M/s items_per_second=11.5129M/s atox_std_stof<float> 87.7 ns 87.7 ns 8000812 bytes_per_second=43.5196M/s items_per_second=11.4084M/s atox_scanf<float> 161 ns 161 ns 4348858 bytes_per_second=23.7363M/s items_per_second=6.22232M/s atox_sstream<float> 413 ns 413 ns 1701121 bytes_per_second=9.24398M/s items_per_second=2.42325M/s atox_sstream_reuse<float> 185 ns 185 ns 3784110 bytes_per_second=20.586M/s items_per_second=5.3965M/s [100%] Built target c4core-bm-charconv-atox-float CWD=/home/jpmag/proj/rapidyaml/ext/c4core/build/linux-x86_64-gxx11.1-Release/bm [100%] Built target c4core-bm-run ``` |
||
|
|
801191b245 | [bm] add benchmarks for write_dec/hex/oct/bin | ||
|
|
effe32e5ff |
[wip] adding amalgamation into single header file
test commands: ```bash rm -rf build cmany b -t Debug -V C4CORE_DEV=ON c4core-test-run cmany i -t Debug id=/home/jpmag/proj/c4core/install/linux-x86_64-gxx11.1-Debug/ ( cd test/test_install ; rm -rf build ; cmany b -t Debug -v "nopkg: -V CMAKE_PREFIX_PATH=$id -V C4CORE_TEST_INSTALL_PACKAGE_MODE=OFF","pkg: -V c4core_DIR=$id/lib/cmake/c4core -V C4CORE_TEST_INSTALL_PACKAGE_MODE=ON" -vb c4core-test-run ) ( cd test/test_singleheader/ ; rm -rf build ; cmany b -t Debug c4core-test-run ) ``` |
||
|
|
2974fb094e | fix: dev: charconv bm was missing int64_t | ||
|
|
ff8dba91f6 | new: usr: move read_dec,hex,oct,bin to the API. These are FAST. | ||
|
|
c1be692fc6 | new: usr: error reporting refactor !wip | ||
|
|
72f7fcb878 | fix: usr: fast_float now works on 32bit builds | ||
|
|
4a42e59650 | chg: dev: charconv benchmarks now use only std::stringstream | ||
|
|
eaab39f977 | new: dev: add more format benchmarks | ||
|
|
af00ad578b | chg: dev: use fast_float for reading floats | ||
|
|
96aa3c52fa | tidy: charconv benchmark: cleanup | ||
|
|
6ea2f0e946 | chg: dev: add format benchmark | ||
|
|
142df45713 | tidy: project folders | ||
|
|
8b2623592d | add format benchmark | ||
|
|
141331f70c | wip: add benchmarks comparing several float conv libraries... | ||
|
|
3811dc2786 | chg: dev: rename to bm_charconv.cpp | ||
|
|
fae9b38beb | compile c++20 in travis as well (g++-10 and clang++-10) | ||
|
|
ce06156c2c | fix extra-pedantic warnings on clang9 and vs2019 | ||
|
|
e26672160b | fix compile error of benchmarks below C++17 | ||
|
|
9b2fdb9a82 | fix benchmark compilation | ||
|
|
06735ebcca | update c4proj | ||
|
|
03bbfb2108 | c4proj: remove need for prefix (store globally as project constant) | ||
|
|
7690239d52 | fix #1: warnings with pedantic compilation flags | ||
|
|
69555fb67f | Merge branch 'master' of https://github.com/biojppm/c4core |