diff options
author | Kali Kaneko <kali@leap.se> | 2014-09-23 13:38:06 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:03:17 -0400 |
commit | e0f70a342deccbb53a6ea7215b3322388bb18461 (patch) | |
tree | bd8fb37de901b82ffba984ea24060ab0ae790913 /client/src/leap/soledad/client/examples/compare.txt | |
parent | 9c56adfd27e96c44c12ad5295c42e6b8d9bcad98 (diff) |
Refactor soledad api to use async db
* add examples and benchmarks
* remove autocommit mode, allow wal disabling
* lock initialization
* make api use async calls
Diffstat (limited to 'client/src/leap/soledad/client/examples/compare.txt')
-rw-r--r-- | client/src/leap/soledad/client/examples/compare.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/examples/compare.txt b/client/src/leap/soledad/client/examples/compare.txt new file mode 100644 index 00000000..19a1325a --- /dev/null +++ b/client/src/leap/soledad/client/examples/compare.txt @@ -0,0 +1,8 @@ +TIMES=100 TMPDIR=/media/sdb5/leap python use_adbapi.py 1.34s user 0.16s system 53% cpu 2.832 total +TIMES=100 TMPDIR=/media/sdb5/leap python use_api.py 1.22s user 0.14s system 62% cpu 2.181 total + +TIMES=1000 TMPDIR=/media/sdb5/leap python use_api.py 2.18s user 0.34s system 27% cpu 9.213 total +TIMES=1000 TMPDIR=/media/sdb5/leap python use_adbapi.py 2.40s user 0.34s system 39% cpu 7.004 total + +TIMES=5000 TMPDIR=/media/sdb5/leap python use_api.py 6.63s user 1.27s system 13% cpu 57.882 total +TIMES=5000 TMPDIR=/media/sdb5/leap python use_adbapi.py 6.84s user 1.26s system 36% cpu 22.367 total |