Skip to content

Find some way to detect performance regressions #1714

Open

Description

@acelaya

Recently there was a change in a query that made its performance drop drastically, resulting in a nasty bug.

The problem is that it was not detected, because all tests kept passing, and it was not obvious when using small amounts of data.

Using something like https://github.com/phpbench/phpbench it should be possible to benchmark certain aspects of the app (primarily database queries. They are usually the bottlenecks), and fail continuous integration if performance had been deeply affected by some change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions