[InterNetNews/inn] 96a604: tests: history-bench, a hisv6/hissqlite benchmark

Kevin Bowling noreply at github.com
Mon Jul 13 20:16:10 UTC 2026


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 96a604974f36178c77d52f5e6dbcd451e147090e
      https://github.com/InterNetNews/inn/commit/96a604974f36178c77d52f5e6dbcd451e147090e
  Author: Kevin Bowling <kevin.bowling at kev009.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M .gitignore
    M MANIFEST
    M support/mkmanifest
    M tests/Makefile
    A tests/lib/history-bench.c

  Log Message:
  -----------
  tests: history-bench, a hisv6/hissqlite benchmark

A standalone benchmark (deliberately not part of the TAP suite) for
comparing the hisv6 and hissqlite history backends at scale.  It opens
each backend exactly as innd does including the in-core index hint and
reads tuning from inn.conf, so results reflect production settings;
with no inn.conf it falls back to each backend's built-in defaults,
which match the inn.conf defaults, so the comparison stays fair either
way.

Per method it times create+write (one autocommit per article, like
innd's steady state), sequential check, full walk (the expireover
bloom-rebuild and migration scan), random lookup, and missing lookup,
reports the on-disk footprint, and validates correctness.  It fails if
any inserted entry is missing or any absent entry is found.  Lookups
use a fixed-seed PRNG reset per phase so every method replays the
identical order.  Output is both a human readable table and a CSV row.

Defaults to 100M entries (sized for large local testing); build with
"make -C tests benchmarks" and run tests/lib/history-bench (see -h).

see #349



To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications


More information about the inn-committers mailing list