Pixel-Composer/scripts/timer_function/timer_function.gml
2022-01-13 11:24:03 +07:00

5 lines
120 B
Plaintext

function measure(func, header = "") {
var t = current_time;
func();
show_debug_message(header + string(t) + " ms");
}