13.03.2019, 11:58
You can measure how long any function call takes like this:
For speed testing you can load a file with known size to calculate network speed, but what is the point of such test?
Code:
ts, tu = os.microtime()
-- run something here
diff = os.udifftime(ts, tu)
log(diff)
For speed testing you can load a file with known size to calculate network speed, but what is the point of such test?