@ondrejmirtes just published Tally, a new PHP framework for catching performance regressions in CI.
https://github.com/phpstan/tally
Commit
80f1f70
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).
yeah that's a thing in Laravel, I use it in specific action tests
commit 80f1f70