summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 94c768e8..a7762b8b 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -612,7 +612,7 @@ end
function mt:_testMemory()
local clock = os.clock()
collectgarbage()
- log.debug('collectgarbage: ', os.clock() - clock)
+ log.debug('collectgarbage: ', ('%.3f'):format(os.clock() - clock))
local clock = os.clock()
local cachedVM = 0
@@ -702,7 +702,7 @@ function mt:_testMemory()
totalLocal,
totalValue
))
- log.debug('test memory: ', os.clock() - clock)
+ log.debug('test memory: ', ('%.3f'):format(os.clock() - clock))
end
function mt:onTick()