# pd-rs TSO Strict-Profile Hot-Path Baseline Report

This baseline records the current local Criterion measurements for the strict-profile
hot path in `pd-service-tso`. It is the checked-in reference used by the unit test
gate in `pd-service-tso` and should be updated when the benchmark meaningfully
changes.

## Reproduction

Run the benchmark from the workspace root:

```bash
KVPROTO_ROOT=$(pwd)/.kvproto cargo bench -p pd-service-tso --bench tso_hot_path -- --noplot
```

The benchmark exercises:

- local routing with `count=1`
- local routing with `count=64`
- forwarding merge/split with a batch width of `32`

## Machine-Readable Gate Fields

routing_local_tso_count_1_median_ns: 511.37
routing_local_tso_count_1_max_allowed_ns: 600.00
routing_local_tso_count_64_median_ns: 515.40
routing_local_tso_count_64_max_allowed_ns: 600.00
forwarding_merge_and_split_32_median_ns: 3879.10
forwarding_merge_and_split_32_max_allowed_ns: 4200.00
forwarding_merge_and_split_32_throughput_elem_per_sec: 8249300.00
forwarding_merge_and_split_32_min_allowed_throughput_elem_per_sec: 8000000.00
q_node_sustained_qps_groups_1: 1955537
q_node_sustained_qps_groups_16: 122221
q_node_sustained_qps_groups_128: 15277
safe_active_group_budget_groups_1: 1
safe_active_group_budget_groups_16: 16
safe_active_group_budget_groups_128: 128

## Notes

The measured medians above came from a local run on March 23, 2026. Threshold fields
are intentionally looser than the observed medians to absorb normal machine variance
while still catching clear regressions.
