Skip to content
This repository was archived by the owner on Apr 2, 2023. It is now read-only.

Benchmarking performance #3

@sole

Description

@sole

Oftentimes contributors suggest changes that 'improve performance'. Other times they suggest changes but we are reluctant to merge them just in case they 'worsen performance'.

But right now we have no way of measuring performance other than looking at FPS graphs and trying to make sure "it doesn't look worse", but this isn't very accurate, and it's also a bit time consuming.

We cannot tell for sure whether something is better or worse, but we should!

In the past I ran manual tests for comparing between changes but as anything manual, it puts you off.

The ideal benchmark...

  • can be run in an automated way (no user intervention required other than initiating the benchmarks, via tests or just the benchmark itself)
  • can run on travis (so it's part of the tests before PRs are accepted, and if things are slower than a certain baseline we should reject a PR?)
  • could aggregate historical records so we can see if we're going slower or faster (or compare between platforms and engines - some engines optimise things differently) - this would be a stretch goal

So far I have been looking at:

Any other ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions