mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests - t.benchmark.t
- Added benchmark to measure time taken to parse 1,000,000 T records.
This commit is contained in:
parent
3088e1ebe1
commit
4fa4c5f532
5 changed files with 80 additions and 11 deletions
12
configure.ac
12
configure.ac
|
@ -14,14 +14,12 @@ debug_default="yes"
|
|||
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
|
||||
[default=$debug_default]],, enable_debug=$debug_default)
|
||||
# Yes, shell scripts can be used
|
||||
if test "x$enable_debug" = "xyes"; then
|
||||
CFLAGS="$CFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
|
||||
CXXFLAGS="$CFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
|
||||
AC_MSG_RESULT(yes)
|
||||
if test "$enable_debug" = "yes"; then
|
||||
CXXFLAGS="$CFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
CFLAGS="$CFLAGS -O3"
|
||||
CXXFLAGS="$CFLAGS -O3"
|
||||
AC_MSG_RESULT(no)
|
||||
CXXFLAGS="$CFLAGS -O3"
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# Check for OS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue