benchmarks

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Overview

Package benchmarks holds repository-wide benchmarks and the smoke tests that gate their fixtures. Bench targets, fixture loaders, and synthetic data generators live here so they don't bleed into the shipping API of the packages under test.

Fixtures are checked-in JSON / binary captures under testdata/ so results are reproducible across machines and Go versions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountInfoJSON

func GetAccountInfoJSON() []byte

GetAccountInfoJSON returns the bytes of a synthetic getAccountInfo result payload. The fixture is a rent-exempt SPL Token account.

func GetBlockJSON

func GetBlockJSON() []byte

GetBlockJSON returns the bytes of a synthetic getBlock result payload. The fixture holds a handful of transactions; it is sized for representative block decoding, not for real mainnet blocks.

func GetTransactionJSON

func GetTransactionJSON() []byte

GetTransactionJSON returns the bytes of a synthetic getTransaction result payload. The fixture is a single legacy system-transfer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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