benchmark

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package benchmark provides utilities for running benchmarks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(
	b *testing.B,
	setup func(context.Context) error,
	before func(context.Context) error,
	fn func(context.Context) error,
	after func(context.Context) error,
)

Run benchmarks fn.

Types

This section is empty.

Jump to

Keyboard shortcuts

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