aboutsummaryrefslogtreecommitdiff
path: root/testall.sh
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-11 20:18:11 +0000
committerFranklin Wei <me@fwei.tk>2018-07-11 20:22:14 +0000
commita43b0560b50935210deddd60bd31c38cb31ff69a (patch)
tree05db1fdd4ae38c875d128ee624a78ed0a6af8f16 /testall.sh
parent7ef3b693e36ee5935fb769bdef81317f2fe2caff (diff)
downloadcsaa-a43b0560b50935210deddd60bd31c38cb31ff69a.zip
csaa-a43b0560b50935210deddd60bd31c38cb31ff69a.tar.gz
csaa-a43b0560b50935210deddd60bd31c38cb31ff69a.tar.bz2
csaa-a43b0560b50935210deddd60bd31c38cb31ff69a.tar.xz
Improve dummy performance
The old code was creating a brand-new statement (in dynamic memory) on each operation, which slowed down over time. Replaced with persistent prepared statements.
Diffstat (limited to 'testall.sh')
-rwxr-xr-xtestall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/testall.sh b/testall.sh
index b637241..2c36078 100755
--- a/testall.sh
+++ b/testall.sh
@@ -21,3 +21,4 @@ sleep .2
echo "Encrypted retrieve: "
/usr/bin/time -v ./testretrieve.sh ./client $runs
kill -SIGINT $!
+rm csaa.db