diff options
author | Franklin Wei <me@fwei.tk> | 2018-07-11 20:18:11 +0000 |
---|---|---|
committer | Franklin Wei <me@fwei.tk> | 2018-07-11 20:22:14 +0000 |
commit | a43b0560b50935210deddd60bd31c38cb31ff69a (patch) | |
tree | 05db1fdd4ae38c875d128ee624a78ed0a6af8f16 /Makefile | |
parent | 7ef3b693e36ee5935fb769bdef81317f2fe2caff (diff) | |
download | csaa-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 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ sqlinit.c: sqlinit.txt dummy_main.o: main.c cc -c -o $@ $^ -DDUMMY $(CFLAGS) -dummy_client: dummy_client.o crypto.o test.o iomt.o +dummy_client: dummy_client.o crypto.o test.o iomt.o sqlinit.o cc -o $@ $^ -lcrypto $(CFLAGS) dummy_server: dummy_service.o dummy_main.o sqlinit.o cc -o $@ $^ -lcrypto $(CFLAGS) |