Performance benchmark on a big network, posted on every PR
scripts/perf-bench.js times routing, a game day, an action, panels, the NOC dashboard and the map on tests/fixtures/big-network.json (104 POPs, 950 PNIs, 832 caches), base and head in alternating turns, and says whether routing results changed. perf.yml runs it on every PR against the base; perf-comment.yml posts the table as one updated comment. New performance skill, CLAUDE.md rule, PR template and docs.
This commit is contained in:
parent
ad8b1bebcb
commit
308c3f7045
13 changed files with 322 additions and 1 deletions
15
.github/pull_request_template.md
vendored
Normal file
15
.github/pull_request_template.md
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!-- One small feature or one fix per pull request, please. See CONTRIBUTING.md. -->
|
||||
|
||||
## What and why
|
||||
|
||||
## How it was tested
|
||||
|
||||
<!-- Tests added or changed, and what you checked by hand (phone width, both orientations, Italian). -->
|
||||
|
||||
## Performance
|
||||
|
||||
<!-- Changes to site/ must show their performance on a big network. The Performance check posts the
|
||||
numbers as a comment on this PR. Locally:
|
||||
git show origin/main:site/index.html > /tmp/base.html
|
||||
npm run perf -- --base /tmp/base.html
|
||||
Explain anything marked slower. -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue