Repository navigation
feat: publish the results to the Testo site - #12
Merged
Merged
Conversation
The benchmarks now also write results.json: the numbers of the README tables with the metadata of the run (release, commit, workflow run, machine, PHP and database server versions). bin/validate checks it against schema/results.schema.json and for what a schema can't say: every contender measured in every scenario, the ratios matching the times. On release, the Publish workflow validates the document against the tag, attaches it to the release and sends it to php-testo/php-testo.github.io: as a PR, or as a direct push when DOCS_PUBLISH_MODE is `push`. Assisted-By: Claude Opus 5.5
Assisted-By: Claude Opus 5.5
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.
The README tables are hard to read; the Testo site will render the results instead and keep the history of runs.
bin/report --json=results.jsonwrites the results with the metadata of the run: release, commit, workflow run, machine (CPU, runner image, OS, PHP) and database server version per database.bin/runnow records the machine inresults/<db>/env.json.schema/results.schema.jsondescribes the document;bin/validatechecks it against the schema and for completeness: every contender in every scenario on every database, ratios matching the times, the release matching the tag.results.jsoninto the release PR next to the README tables, after validating it.data/benchmarks/orm/<release>.jsonin php-testo/php-testo.github.io: as a PR by default, as a direct push when the repository variableDOCS_PUBLISH_MODEispush. It can also be run by hand for an existing release.Needs the
RELEASE_TOKENsecret available to this repository, with write access to php-testo/php-testo.github.io.🤖 Generated with Claude Code