Add mingw build and run script for bench example

This commit is contained in:
Paul
2014-11-13 17:03:18 +00:00
parent 957b3d4cbc
commit e0020eb786
2 changed files with 58 additions and 0 deletions

28
bench/run_all.bat Normal file
View File

@@ -0,0 +1,28 @@
@echo off
echo Running benchmarks (all with 1000,000 writes to the logs folder)
echo ==================================
echo boost-bench (single thread)
echo %time%
.\boost-bench
echo %time%
echo ==================================
choice /n /c y /d y /t 1 >NUL
echo spdlog-bench (single thread)
echo %time%
.\spdlog-bench
echo %time%
echo ==================================
choice /n /c y /d y /t 1 >NUL
echo boost-bench-mt (10 threads, single logger)
echo %time%
.\boost-bench-mt
echo %time%
echo ==================================
choice /n /c y /d y /t 1 >NUL
echo spdlog-bench-mt (10 threads, single logger)
echo %time%
.\spdlog-bench-mt
echo %time%
echo ==================================