Every few seconds, a stress test is run using GetComponent, and the time is measured.

This was designed to address a major complaint with past benchmarks, namely that simply running GetComponent repeatedly in a loop does not produce valid results, due to compiler optimization. In mine, a different component is chosen at random each iteration.

It is worth note that earlier builds with fewer components ran faster. This should be considered a worse-than-worst-case scenario, with 1000 components to iterate through.

The in-browser version FPS may be limited to the refresh rate of your web browser. A Windows version is available. If you want a Linux or Mac version, let me know and I'll download the build package.

Yours,
The Nudist

StatusReleased
CategoryTool
PlatformsHTML5, Windows
AuthorTheNudist
Made withUnity
Tagsbenchmark, test, Unity

Download

Download
GetComponent Benchmark for Windows 21 MB

Install instructions

To run the executable version, extract the zip and run "GetComponentTester.exe".
No elevated permissions needed.

Leave a comment

Log in with itch.io to leave a comment.