rss

command
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: 25 Imported by: 0 modules, 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

Command rss measures B2: peak RSS after listing 100 notebooks in RPC mode.

go run ./bench/rss [-bin bin/sourcebolt.exe]

Method. The real binary cannot be pointed at a fake upstream: it speaks HTTPS and trusts only the system roots, and trusting a test CA would mean changing machine trust settings. So the 100-notebook measurement runs the production stack (rpc transport, nlm client, cache, MCP server) inside this process against a local TLS HTTP/2 fake that serves the live wXbhsf fixture structure expanded to 100 notebooks. The process also holds the MCP client and the fake server, so the figure over-states the real server.

With -bin, the spawned binary is also measured idle (after initialize and tools/list, no upstream), which is the floor the in-process number sits on.

Linux reads VmHWM from /proc/<pid>/status; Windows calls psapi GetProcessMemoryInfo (PeakWorkingSetSize). macOS is skipped.

Jump to

Keyboard shortcuts

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