Skip to content

Performance regression #857

Description

@tomsterBG

Versions

(list all versions where you have replicated the bug)

  • Godot: 4.7.1
  • GUT: 9.4.0 -> 9.7.1

The Bug

GUT 9.4.0 does all my tests at https://github.com/tomsterBG/short in 0.08 to 0.09 seconds.
GUT 9.7.1 does all my tests in 0.36 to 0.38 seconds.

Steps To Reproduce

Have a test suite with upwards of 1000 asserts.
Use GUT 9.4.0 and GUT 9.7.1 on the same suite.

More info

While the jump from 0.09 to 0.36 is not big, it's a 4x difference and the jump from 0.08 to 0.38 is a 4.75x difference. You can easily imagine how this can ruin large scale test suites that have way more than 1000 asserts including performance related tests (like how i have a test_all.gd to ensure damaging a health doesn't take a stupidly long amount of time, which is expected to take less than 0.02s for a health with 1016 shields).

If you try to use my project to test for yourself, you may have errors as i have uncommitted local changes that i need to sort out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions