@ondrejmirtes just published Tally, a new PHP framework for catching performance regressions in CI.
https://github.com/phpstan/tally
GitHubGitHub - phpstan/tally: PHP benchmarking framework that doesn't care about wall-clock time or how fast your CPU is.PHP benchmarking framework that doesn't care about wall-clock time or how fast your CPU is. - phpstan/tally
1 other commit about this linkcommit e006059
I wonder if we could do the same for let's say an API endpoint that would perform a given amount of SQL queries. Saying something like "no more than 10 queries", in order to catch potential N+1 query issues after a refactor (for example).