data-peek
Features

Query Benchmarking

Benchmark queries by running them multiple times and collecting timing stats

Query Benchmarking

Run a query multiple times to collect accurate performance statistics, eliminating variance from single-run measurements.

Running a Benchmark

  1. Write your query in the editor
  2. Click the Benchmark button in the toolbar (stopwatch icon)
  3. Select the number of iterations:
IterationsUse Case
10Quick check
50Moderate confidence
100High confidence
500Detailed profiling
  1. The benchmark runs and collects timing data for each iteration

Results

After completion, you see:

  • Average - Mean execution time
  • P90 - 90th percentile (90% of runs were faster than this)
  • P95 - 95th percentile
  • P99 - 99th percentile

Use benchmarking to compare query performance before and after adding an index or rewriting a query. The percentile values help you understand worst-case behavior, not just average.

On this page