mirror of
https://github.com/fmtlib/fmt.git
synced 2025-04-10 03:44:32 +00:00
Update benchmarks.
This commit is contained in:
parent
e3f11bab42
commit
7aa9eaea48
@ -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
|
||||||
-------
|
-------
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 7f2b43454cb09717913f2a2db17837276da9d0bf
|
Subproject commit 057e5a9b853a3930cdf674c3ac1eacf670dd3b56
|
Loading…
x
Reference in New Issue
Block a user