Page MenuHomeWildfire Games

Add a simple way to profile JS from the tests.
Needs ReviewPublic

Authored by wraitii on Jun 6 2020, 6:49 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Tests can be used to do some simple perf-testing using the Profiler2.

The test is rather stupid but it functions.

Profiling JS is rather difficult to do properly, so I feel like we should settle on some best practices.

Test Plan

Run.

Event Timeline

wraitii created this revision.Jun 6 2020, 6:49 PM
Vulcan added a comment.Jun 6 2020, 6:50 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2347/display/redirect

Stan added a subscriber: Stan.Jun 6 2020, 6:52 PM

Could we assert that one is slower than the other? or don't we have access to that information.