qbenchstat

module
v0.0.0-...-d38378b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT

README

Overview

My personal, slightly improved version of benchstat utility.

Differences From Benchstat

Lets take two benchmarks data (old and new) and compare them using benchstat:

Here is the result from qbenchstat:

The key differences:

  • Colored output
  • Stricter rules to consider something a significant change

There are other differences too, like fixed geomean for values with zeroes.

Usage

The usage is identical to the original benchstat, plus some new flags.

Usage of ./bin/qbenchstat:
  -alpha α
    	consider change significant if p < α (default 0.05)
  -delta-test test
    	significance test to apply to delta: utest, ttest, or none (default "utest")
  -geomean
    	print the geometric mean of each file
  -no-color
    	disable the colored output
  -sort order
    	sort by order: [-]delta, [-]name, none (default "none")
  -split labels
    	split benchmarks by labels (default "pkg,goos,goarch")

The new flags:

  • no-color

Installation

$ go install github.com/quasilyte/qbenchstat/cmd/qbenchstat

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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