diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-03-25 09:19:01 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-03-25 09:19:01 +0200 |
commit | f7ed2c69f3840f54bd3e54973821b308a998b063 (patch) | |
tree | 3e894b34a0807a116c1ea136bddb4b5f8a1612ca /speed-test | |
download | debuglog-f7ed2c69f3840f54bd3e54973821b308a998b063.tar.gz |
Diffstat (limited to 'speed-test')
-rwxr-xr-x | speed-test | 10 |
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")' |