benchio

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package benchio provides optional benchmark-only payload I/O controls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetReadRateLimitForBenchmark

func SetReadRateLimitForBenchmark(_ int64) func()

SetReadRateLimitForBenchmark is a no-op outside benchmark builds.

func WaitForReadBudget

func WaitForReadBudget(_ int) error

WaitForReadBudget is a no-op outside benchmark builds.

func WrapPayloadReaderAtForBenchmark

func WrapPayloadReaderAtForBenchmark(reader io.ReaderAt) io.ReaderAt

WrapPayloadReaderAtForBenchmark leaves random-access readers unchanged outside benchmark builds.

func WrapPayloadReaderForBenchmark

func WrapPayloadReaderForBenchmark(reader io.Reader) io.Reader

WrapPayloadReaderForBenchmark leaves readers unchanged outside benchmark builds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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