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.