mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-15 23:13:53 +01:00
5 lines
120 B
Plaintext
5 lines
120 B
Plaintext
|
function measure(func, header = "") {
|
||
|
var t = current_time;
|
||
|
func();
|
||
|
show_debug_message(header + string(t) + " ms");
|
||
|
}
|