mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +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");
|
|
} |