Skip to content

Benchmarks: criterion comparisons vs SQLite #6

Description

@pszymkowiak

Create benches/vs_sqlite.rs with criterion benchmarks comparing trdbte vs rusqlite:

Benchmarks to implement:

  1. bulk_insert_1k — INSERT 1,000 rows
  2. bulk_insert_10k — INSERT 10,000 rows
  3. select_all — SELECT * from 10k rows
  4. select_where_eq — SELECT WHERE id = N (point lookup in 10k rows)
  5. select_where_range — SELECT WHERE id > N AND id < M
  6. update_where — UPDATE ... WHERE id = N
  7. delete_where — DELETE WHERE id = N
  8. select_order_by — SELECT * ORDER BY col
  9. mixed_workload — interleaved INSERT/SELECT/UPDATE/DELETE

Both in-memory and on-disk variants.
Output must show trdbte vs sqlite times.
Target: trdbte must be faster on every benchmark.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions