forked from fmtlib/fmt
Update benchmarks.
This commit is contained in:
@ -157,33 +157,8 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/format-benchmark/tinyformat_test.cpp)
|
|||||||
COMMAND @time -p ./tinyformat_speed_test boost > /dev/null
|
COMMAND @time -p ./tinyformat_speed_test boost > /dev/null
|
||||||
DEPENDS tinyformat_speed_test)
|
DEPENDS tinyformat_speed_test)
|
||||||
|
|
||||||
add_custom_target(bloat_test_debug
|
add_custom_target(bloat-test
|
||||||
COMMAND echo running bloat tests...
|
COMMAND ./bloat-test.py
|
||||||
COMMAND echo printf results:
|
|
||||||
COMMAND ./bloat_test.sh
|
|
||||||
COMMAND echo iostreams results:
|
|
||||||
COMMAND ./bloat_test.sh -DUSE_IOSTREAMS
|
|
||||||
COMMAND echo format results:
|
|
||||||
COMMAND ./bloat_test.sh -DUSE_CPPFORMAT -L.. -lformat
|
|
||||||
COMMAND echo tinyformat results:
|
|
||||||
COMMAND ./bloat_test.sh -DUSE_TINYFORMAT
|
|
||||||
COMMAND echo boost results:
|
|
||||||
COMMAND ./bloat_test.sh -DUSE_BOOST
|
|
||||||
WORKING_DIRECTORY format-benchmark
|
|
||||||
DEPENDS format)
|
|
||||||
|
|
||||||
add_custom_target(bloat_test_optimized
|
|
||||||
COMMAND echo running bloat tests...
|
|
||||||
COMMAND echo printf results:
|
|
||||||
COMMAND ./bloat_test.sh -O3
|
|
||||||
COMMAND echo iostreams results:
|
|
||||||
COMMAND ./bloat_test.sh -O3 -DUSE_IOSTREAMS
|
|
||||||
COMMAND echo format results:
|
|
||||||
COMMAND ./bloat_test.sh -O3 -DUSE_CPPFORMAT -L.. -lformat
|
|
||||||
COMMAND echo tinyformat results:
|
|
||||||
COMMAND ./bloat_test.sh -O3 -DUSE_TINYFORMAT
|
|
||||||
COMMAND echo boost results:
|
|
||||||
COMMAND ./bloat_test.sh -O3 -DUSE_BOOST
|
|
||||||
WORKING_DIRECTORY format-benchmark
|
WORKING_DIRECTORY format-benchmark
|
||||||
DEPENDS format)
|
DEPENDS format)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -327,7 +327,7 @@ the speed test::
|
|||||||
|
|
||||||
or the bloat test::
|
or the bloat test::
|
||||||
|
|
||||||
$ make bloat_test
|
$ make bloat-test
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
Submodule format-benchmark updated: 7f2b43454c...057e5a9b85
Reference in New Issue
Block a user