Files
Bubberstation/bin/tgui-bench.cmd
SkyratBot bc7a7efc28 [MIRROR] tgui-bench (#8078)
* 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.

* tgui-bench

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-09-09 18:53:29 +01:00

4 lines
84 B
Batchfile

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