benchdata

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package benchdata builds synthetic but realistic NotebookLM responses for the benchmarks. The row structure comes from the sanitized live wXbhsf capture (testdata/fixtures/wXbhsf/live_2026-10-13_01.json); rows are cloned with fresh ids until the requested size is reached. Nothing here is real account data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Body

func Body(rpc string, payload []byte) []byte

Body wraps payload in a batchexecute response body the way the server frames it: XSSI prefix, chunk length, one wrb.fr row plus the usual metadata rows, then a trailer chunk.

func ListBody

func ListBody(n int) []byte

ListBody is Body for a list response with n notebooks.

func ListBodyOfSize

func ListBodyOfSize(target int) ([]byte, int)

ListBodyOfSize returns a list response whose body is at least target bytes, using as few rows as possible, and the row count.

func ListPayload

func ListPayload(n int) []byte

ListPayload returns the inner wXbhsf payload ([[row, ...]]) with n rows.

func Root

func Root() string

Root returns the repository root, found relative to this source file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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