Performance Regression Tests
In the future, once Origam HTML Architect show good numbers, become stable, and users start settling in, it would be good to start thinking about Performance Regression Tests in CI/CD.
Right now we have a problem where HTML Architect uses a lot of memory and sometimes a lot of CPU when loading a model:
This could be fixed in a couple of PRs, but inevitably, a few months after we fix it, performance will start to degrade again.
In the future, I think it would be a good idea to build CI/CD pipelines that run, for example, every day or before every release, and report the current statistics on our performance.
ASP.NET has something like this:
The same approach have MongoDB
An interesting point is that they don’t run these pipelines on every PR, only on a schedule. This is because of the huge number of PRs they get hundreds of PRs every day, and their machines can’t process hundreds of commits without a big delay. At the same time, this also solved the problem of noise in CI/CD by this
Here’s an article that touches on this topic of Performance Regression Tests in CI/CD:
