Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: speedup writing to cache by using qmark style sql rather than n…
…amed ``` before src/cachew/tests/test_cachew.py::test_many[gc_off-1000000] [INFO 2023-09-13 03:31:29,980 cachew __init__.py:778 ] cachew.tests.test_cachew:test_many.<locals>.iter_data: wrote 1000000 objects to cachew (sqlite /tmp/pytest-of-karlicos/pytest-18/test_many_gc_off_1000000_0/test_many) test_many: initial write to cache took 4.5s test_many: cache size is 72.904704Mb [INFO 2023-09-13 03:31:30,273 cachew __init__.py:641 ] cachew.tests.test_cachew:test_many.<locals>.iter_data: loading 1000000 objects from cachew (sqlite /tmp/pytest-of-karlicos/pytest-18/test_many_gc_off_1000000_0/test_many) test_many: reading from cache took 2.9s ``` after: ``` src/cachew/tests/test_cachew.py::test_many[gc_off-1000000] [INFO 2023-09-14 20:50:55,287 cachew __init__.py:791 ] cachew.tests.test_cachew:test_many.<locals>.iter_data: wrote 1000000 objects to cachew (sqlite /tmp/pytest-of-karlicos/pytest-80/test_many_gc_off_1000000_0/test_many) test_many: initial write to cache took 3.3s test_many: cache size is 72.904704Mb [INFO 2023-09-14 20:50:55,479 cachew __init__.py:654 ] cachew.tests.test_cachew:test_many.<locals>.iter_data: loading 1000000 objects from cachew (sqlite /tmp/pytest-of-karlicos/pytest-80/test_many_gc_off_1000000_0/test_many) test_many: reading from cache took 2.8s ```
- Loading branch information