mkbench

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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