scope-latency-compare

command
v0.70.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command scope-latency-compare is the T112a merge-base gate for Spec 105 FR-011: it compares the administrator p95 latency for each of the four scope-hardening operations (retrieve_tools, read_cache, prompts/list, tools/list) between two revisions and fails if HEAD regressed by more than max(10%, 5ms) on any operation, or if either side is missing a measurement for any operation.

Input: two files, each produced by internal/server's scope_latency_test.go (via SCOPE_LATENCY_RESULTS_FILE) as newline-separated "operation=nanoseconds" pairs. No third-party dependency — stdlib only, per research D10.

Usage: scope-latency-compare <merge-base-results-file> <head-results-file>

Jump to

Keyboard shortcuts

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