Title: Way to enforce a bench case presence in baseline storage file · Issue #1145 · phpbench/phpbench · GitHub
Open Graph Title: Way to enforce a bench case presence in baseline storage file · Issue #1145 · phpbench/phpbench
X Title: Way to enforce a bench case presence in baseline storage file · Issue #1145 · phpbench/phpbench
Description: When we add a new case to test, it's not present in the baseline file but it's still tested against regressions. We run phpbench like this: tests/vendor/bin/phpbench run --file=tests/bench/storage/baseline.xml --report=aggregate --ansi A...
Open Graph Description: When we add a new case to test, it's not present in the baseline file but it's still tested against regressions. We run phpbench like this: tests/vendor/bin/phpbench run --file=tests/bench/storage/...
X Description: When we add a new case to test, it's not present in the baseline file but it's still tested against regressions. We run phpbench like this: tests/vendor/bin/phpbench run --file=tests/bench/...
Opengraph URL: https://github.com/phpbench/phpbench/issues/1145
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Way to enforce a bench case presence in baseline storage file","articleBody":"When we add a new case to test, it's not present in the baseline file but it's still tested against regressions.\n\nWe run phpbench like this:\n\n```\ntests/vendor/bin/phpbench run --file=tests/bench/storage/baseline.xml --report=aggregate --ansi\n```\n\nAnd the report shows this line for the new added case:\n\n```\n| RegressionBench | benchRunAnalyse | bug-14452.php | 1 | 5 | ERR | 26.230ms +0.00% | ±2.92% +0.00% |\n```\n\n(Notice the ERR instead of actual time comparison).\n\nI'd like to error with exit status > 0 to enforce an update to the baseline file in this scenario. I want to start covering the new case with regression testing right away, so that we don't forget about it and it doesn't immediately regress again.","author":{"url":"https://github.com/ondrejmirtes","@type":"Person","name":"ondrejmirtes"},"datePublished":"2026-04-12T20:37:23Z","url":"https://github.com/phpbench/phpbench/issues/1145"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:455ca59c-6f89-b218-2fa7-650f0ac08384 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C02C:7AD3E:2358E6:30B6E5:6B0452F6 |
| html-safe-nonce | 3ae2c9e14b7eb22b9bde5022e297335bee8587724afe64e5d62e367b1a6f51e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDJDOjdBRDNFOjIzNThFNjozMEI2RTU6NkIwNDUyRjYiLCJ2aXNpdG9yX2lkIjoiMjIzOTIxNzI2NjQwNTQzMDAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36890bb70e0663da21eb825cea788c7fa8069df9754fb644ea4714f121112a60 |
| hovercard-subject-tag | issue:4249866935 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpbench/phpbench/1145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78c38e13b35eb1ccb4f6221faeebfb823bedc43040c1a834cd3f56536ec69de2/phpbench/phpbench/issues/1145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78c38e13b35eb1ccb4f6221faeebfb823bedc43040c1a834cd3f56536ec69de2/phpbench/phpbench/issues/1145 |
| og:image:alt | When we add a new case to test, it's not present in the baseline file but it's still tested against regressions. We run phpbench like this: tests/vendor/bin/phpbench run --file=tests/bench/storage/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondrejmirtes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/phpbench/phpbench git https://github.com/phpbench/phpbench.git |
| octolytics-dimension-user_id | 12785153 |
| octolytics-dimension-user_login | phpbench |
| octolytics-dimension-repository_id | 34982189 |
| octolytics-dimension-repository_nwo | phpbench/phpbench |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34982189 |
| octolytics-dimension-repository_network_root_nwo | phpbench/phpbench |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width