ligurio / molly

Framework for distributed system's verification, with fault injection.
https://ligurio.github.io/molly/
ISC License
11 stars 2 forks source link

test: use precompiled statements in examples #7

Closed ligurio closed 3 months ago

ligurio commented 3 months ago

Prepared statements improve performance by caching the execution plan for a query after the query optimizer has found the best plan.

If the query doesn't have a complicated plan (such as simple selects/inserts with no joins), then prepared statements won't give you a big improvement since the optimizer will quickly find the best plan.

SQLite helpers has been renamed in test examples.

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9254214822

Details


Files with Coverage Reduction New Missed Lines %
molly/tests.lua 4 87.93%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 9254137959: -0.6%
Covered Lines: 653
Relevant Lines: 699

💛 - Coveralls