mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +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
|
||||
DEPENDS tinyformat_speed_test)
|
||||
|
||||
add_custom_target(bloat_test_debug
|
||||
COMMAND echo running bloat tests...
|
||||
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
|
||||
add_custom_target(bloat-test
|
||||
COMMAND ./bloat-test.py
|
||||
WORKING_DIRECTORY format-benchmark
|
||||
DEPENDS format)
|
||||
endif ()
|
||||
|
@ -327,7 +327,7 @@ the speed test::
|
||||
|
||||
or the bloat test::
|
||||
|
||||
$ make bloat_test
|
||||
$ make bloat-test
|
||||
|
||||
License
|
||||
-------
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7f2b43454cb09717913f2a2db17837276da9d0bf
|
||||
Subproject commit 057e5a9b853a3930cdf674c3ac1eacf670dd3b56
|
Loading…
Reference in New Issue
Block a user