visual

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package visual visualize benchmark sets

@update 2023-03-07 02:13:12

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Visualize

func Visualize(saveDir string, sets []bench.Set) (savedPaths []string, err error)

Visualize visualize benchmark sets and save html to target path every set will be visualize as 3+ bar charts for 3+ metrics(include custom metrics), and be exported to html files in the given saveDir

@Concept alignment:
bench.Set(package) -> page(html)
metrics(ns/op...)  -> series of metrics value
targets            -> series name(x axis)
scenarios          -> dummy values in charts(group name)

@param saveDir string
@param sets []bench.Set
@return savedPaths []string
@return err error
@author kevineluo
@update 2023-03-07 02:14:40

Types

This section is empty.

Jump to

Keyboard shortcuts

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