mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 14:36:13 +01:00
5 lines
No EOL
120 B
Text
5 lines
No EOL
120 B
Text
function measure(func, header = "") {
|
|
var t = current_time;
|
|
func();
|
|
show_debug_message(header + string(t) + " ms");
|
|
} |