test: add large-bibliography performance benchmark suite#35
Merged
Conversation
Recovered from stale local branch experiment/large-bibliography-benchmark (tip b20cbe9, 41 commits behind main). Adds the standalone PHP formatter latency benchmark, the deterministic CSL-JSON fixture generator, the 200-entry fixture, and the results memo. Dev tooling only; no runtime code. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds large-size orchestration benchmark cases (style switch and mutation latency over a 200-entry bibliography) to the existing perf test, using the csl-200.json fixture. Self-skipping, consistent with the existing benchmark blocks. Salvaged from experiment/large-bibliography-benchmark. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
=======================================
Coverage 81.47% 81.47%
=======================================
Files 40 40
Lines 2613 2613
Branches 464 464
=======================================
Hits 2129 2129
Misses 126 126
Partials 358 358 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Salvages the large-bibliography performance benchmark suite that was stranded on the stale local branch
experiment/large-bibliography-benchmark(41 commits behindmain).Contents
scripts/benchmark-formatter.php— standalone PHP citeproc latency benchmark (no WordPress hooks; exits early if the autoloader/citeproc-php is absent)scripts/generate-benchmark-fixtures.js— deterministic CSL-JSON fixture generator (seeded LCG, interleaved types)src/benchmarks/fixtures/csl-200.json— 200-entry CSL-JSON fixturesrc/benchmarks/performance-benchmark.test.js— extended with large-size orchestration cases (style-switch and add/delete mutation latency over 200 entries), consuming the fixture abovedocs/planning/large-bibliography-benchmark-results.md— results memoThe benchmark
describeblocks are self-skipping (consistent with the existing perf file), so they do not run in the normal Jest pass. Dev tooling only — no runtime/plugin code is touched.Notes
JS files were reformatted to satisfy the current prettier config (the originals predated it). Two scoped
eslint-disabledirectives were added to the generator:no-bitwise(LCG PRNG) andno-console(CLI output).lint:js,lint:css,lint:php, the Jest suite, andbuildall pass.🤖 Generated with Claude Code