Pixel-Composer/scripts/timer_function/timer_function.gml

5 lines
120 B
Text
Raw Normal View History

2022-01-13 05:24:03 +01:00
function measure(func, header = "") {
var t = current_time;
func();
show_debug_message(header + string(t) + " ms");
}