KStocky / ShaderTestFramework

An automation testing framework for testing shader code
MIT License
20 stars 1 forks source link

Investigate cost of compiling ASSERTs #76

Closed KStocky closed 1 month ago

KStocky commented 4 months ago

I have recently noticed that compilation times get huge when lots of asserts are added to a test. When adding an assert to the stamp of a TTL_STAMP256, run times of the test is around 18-20s for me and the majority of that time is spent in compiling.

This is probably worth investigating

KStocky commented 4 months ago

From playing around with the Stamp tests, I think this might have something to do with VARARGS... VARARGS seems to have quadrupled the runtime of those those tests