mirror of
https://github.com/diesel-rs/diesel.git
synced 2024-10-04 17:47:17 +03:00
4ef072ff99
We were benchmarking queries without sufficient indices, causing inconsistent performance characteristics. For example, changing `hair_color.eq("black")` to `hair_color.eq("black").or(hair_color.eq("blue))` would cause SQLite to perform between 2-10 times better depending on the number of rows. By adding these indexes, we ensure that our benchmarks perform more consistently |
||
---|---|---|
.. | ||
down.sql | ||
up.sql |