Skip to content

Report latency percentiles for single reads and commits - #37

Merged
venkat1701 merged 3 commits into
mainfrom
feat/bench-latency-percentiles
Oct 4, 2026
Merged

venkat1701 merged 3 commits into
mainfrom
feat/bench-latency-percentiles

Conversation

@venkat1701

Copy link
Copy Markdown
Collaborator

Closes #29

Adds two workloads that time every operation on its own, each one a full transaction:

  • latency.read: 100,000 single incidence lookups, after a warm-up
  • latency.commit: 5,000 transactions with one node update each, using the run's durability

Each result stores p50, p99, p99.9 and max in microseconds. The report gets a second table with the median of each percentile across runs. Both workloads also show up in the main table as throughput, and their checksums are compared like the other reads.

No new dependencies: the samples go into a long[] and get sorted. Result files without latency data render exactly as before; I diffed the report for the existing scale-1-async files.

The first smoke run, at scale 1 with async durability, already shows something the throughput numbers hid. HStore's single-update commits sit at 0.55 to 1.0 ms p50 across three runs, about 10 times slower than HyperGraphDB. The worst commit was between 0.17 s and 7.5 s; the longest GC pause in those runs was 0.7 s. The machine was loaded (load 12 to 20), so I'm not quoting these in the docs, but the commit path needs a look. I'll open a separate issue once I know where the time goes.

Adds latency.read and latency.commit. Each operation is its own
transaction and is timed separately, and the result file stores p50, p99,
p99.9 and max.
Shows the median of each percentile across runs. Result files without
latency data render as before.
@venkat1701
venkat1701 merged commit b859c3b into main Oct 4, 2026
@venkat1701
venkat1701 deleted the feat/bench-latency-percentiles branch October 6, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmark reports no latency percentiles

1 participant