Files
Bubberstation/bin/tgui-bench.cmd
Aleksej Komarov 26f56653c6 tgui-bench (#61081)
Added a package that allows precisely benchmarking tgui components on IE11 without having the game launched.

It has a convenient syntax for writing tests, just create a file packages/tgui-bench/tests/*.test.tsx, and export a function which you want to benchmark

Performance improvements
As part of this PR, I have also improved the raw performance of some tgui components:

Button component - 1.8x faster
Flex component - 1.1x faster
Stack component - 1.3x faster
This improves performance of heavy UIs by a tiny bit.
2021-09-09 18:11:41 +01:00

4 lines
84 B
Batchfile

@echo off
call "%~dp0\..\tools\build\build.bat" --wait-on-error tgui-bench %*
pause