summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-14 17:14:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-14 17:14:56 -0400
commitf3bedb88b24ae8b2047ad86e57b161265c2812f5 (patch)
treee6e5954f40a09e7fd002f242523c1eb0f318b397 /tools
parent0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582 (diff)
parent63b4bdaecff5a865bff22e8e7914bef6ab46fa6b (diff)
downloadfork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.tar.gz
fork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.tar.bz2
fork-ledger-f3bedb88b24ae8b2047ad86e57b161265c2812f5.zip
Merge branch 'next'
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
-rwxr-xr-xtools/speed-test.sh18
2 files changed, 20 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index fa83c1ca..87f518eb 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -59,6 +59,7 @@ libledger_data_la_SOURCES = \
src/iterators.cc \
src/timelog.cc \
src/textual.cc \
+ src/temps.cc \
src/journal.cc \
src/archive.cc \
src/account.cc \
@@ -82,7 +83,6 @@ libledger_report_la_SOURCES = \
src/precmd.cc \
src/chain.cc \
src/filters.cc \
- src/temps.cc \
src/report.cc \
src/session.cc
@@ -124,6 +124,7 @@ pkginclude_HEADERS = \
src/xact.h \
src/account.h \
src/journal.h \
+ src/temps.h \
src/archive.h \
src/timelog.h \
src/iterators.h \
@@ -133,7 +134,6 @@ pkginclude_HEADERS = \
src/session.h \
src/report.h \
src/filters.h \
- src/temps.h \
src/chain.h \
src/precmd.h \
src/csv.h \
diff --git a/tools/speed-test.sh b/tools/speed-test.sh
new file mode 100755
index 00000000..0139a11d
--- /dev/null
+++ b/tools/speed-test.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+set -e
+
+cd ~/src/ledger
+/bin/rm -fr ~/Products/ledger/opt
+./acprep --no-python -j16 opt make check
+
+COMMIT=$(git describe --long --all)
+
+SPEEDS=$(./acprep --no-python -j16 opt make speedtest 2>&1 \
+ | grep "Finished executing command" \
+ | awk '{print $1}' \
+ | xargs)
+
+echo $COMMIT,$(echo $SPEEDS | sed 's/ /,/g') >> speed.log
+
+exit 0