Update benchmarks.

This commit is contained in:
Victor Zverovich 2014-05-22 08:17:30 -07:00
parent e3f11bab42
commit 7aa9eaea48
3 changed files with 4 additions and 29 deletions

View File

@ -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 ()

View File

@ -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