summaryrefslogtreecommitdiff
path: root/speed-test
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-03-25 09:19:01 +0200
committerLars Wirzenius <liw@liw.fi>2019-03-25 09:19:01 +0200
commitf7ed2c69f3840f54bd3e54973821b308a998b063 (patch)
tree3e894b34a0807a116c1ea136bddb4b5f8a1612ca /speed-test
downloaddebuglog-f7ed2c69f3840f54bd3e54973821b308a998b063.tar.gz
Add: initial commitHEADmaster
Diffstat (limited to 'speed-test')
-rwxr-xr-xspeed-test10
1 files changed, 10 insertions, 0 deletions
diff --git a/speed-test b/speed-test
new file mode 100755
index 0000000..50e6c78
--- /dev/null
+++ b/speed-test
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+
+set -eu
+
+
+python -O -m timeit -n 1000000 \
+ -s 'import debuglog' \
+ -s 'x = debuglog.DebugLog()' \
+ 'x.log(msg="foobar", url="yoyoyo")'