Kraftverk

Docs / KraftBench

KraftBench

KraftBench is Kraftverk’s measurement engine. It runs real deterministic workloads. Scores come from wall-clock timing of completed work, with checksums where practical — not synthetic marketing meters.

Why it exists

Optimization without measurement is theater. KraftBench gives the optimizer (and you) a repeatable suite so “better” means higher category scores under documented conditions, not vibes.

Categories

CategoryBenchesNotes
CPUInteger single/multi, float, hashing, compressionMulti uses configured worker/rayon pool
MemorySequential R/W proxy, random chase, allocationProxies — not JEDEC bandwidth certs
StorageSeq/rand read/writeOnly under Kraftverk scratch dir
SystemThread create, barrier sync, wake latencyScheduler proxies
RealtimeFile pipeline, parallel reduce, parseIn-memory “real world” stand-ins
GPUUnsupported in current milestones (architecture reserved)

Methodology

  1. Optional warm-up iterations (discarded)
  2. N timed suite samples
  3. Per-measurement higher-is-better orientation
  4. Kraft Index from category geometric means + documented weights
  5. Baseline normalizes mean raw composite → 10,000
kraftverk baseline
kraftverk benchmark
kraftverk benchmark --sustained 10m

KraftBench v2 also includes CPU scaling, compile proxy, responsiveness, and sustained windows.

Storage safety

Storage benches write only under the platform data directory’s /bench_scratch path, marked with .kraftverk_bench_scratch. Kraftverk refuses obvious user content roots (Documents / Desktop / Downloads).

Reproducibility

What we do not claim

Honesty over hype: proxies are labeled as proxies. If a sensor or backend is missing, Kraftverk says so instead of inventing numbers.

Related

Kraft Index · Statistics · Optimizer