pytest benchmark
Tests:
- test_crypto.py - raw encryption, raw decryption, doc encryption, doc decryption - loads: 10k, 100k, 500k, 1M, 10M, 50M
- test_encdecpool.py - encryption pool and decryption pool - load restricted to 100 docs at 10k, 100k and 500k as memory exploded with 1000 docs.
- test_misc.py - soledad instantiation time, as reported by pixelated.
- test_sqlcipher.py - creates docs from async and sync interfaces - loads: 20x500k, 100x100k, 1000x10k
- test_sync.py - uploads and downloads documents to a remote (couch) replica - loads: 20x500k, 100x100k, 1000x10k
Bug:
- accidentally found a bug in encdecpool while trying to process 1000 docs a time. SQLite doesn't support handling more than 999 variables in a query and the select clause fails. Limited to 900 docs for now.