mkbench

command
v0.0.0-...-f98dcff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Overview

mkbench is a utility for processing the raw nightly benchmark data in JSON data that can be visualized by docs/js/app.js. The raw data is expected to be stored in dated directories underneath the "data/" directory:

data/YYYYMMDD/.../<file>

The files are expected to be bzip2 compressed. Within each file mkbench looks for Go-bench-style lines of the form:

Benchmark<name> %d %f ops/sec %d read %d write %f r-amp %f w-amp

The output is written to "data.js". In order to avoid reading all of the raw data to regenerate "data.js" on every run, mkbench first reads "data.js", noting which days have already been processed and exluding files in those directories from being read. This has the additional effect of merging the existing "data.js" with new raw data, which avoids needing to have all of the raw data present to construct a new "data.js" (only the new raw data is necessary).

The nightly Pebble benchmarks are orchestrated from the CockroachDB repo:

https://github.com/cockroachdb/cockroach/blob/master/build/teamcity-nightly-pebble.sh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL