mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-16 07:23:52 +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");
|
|
} |