mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 07:42:37 +02:00
set elapse in ms
This commit is contained in:
parent
fc6c894394
commit
c0abe841b0
@ -410,7 +410,7 @@ func (c *Converter) Stats() {
|
||||
json.NewEncoder(os.Stdout).Encode(map[string]any{
|
||||
"type": "stats",
|
||||
"data": map[string]any{
|
||||
"elapse": elapse,
|
||||
"elapse_ms": elapse.Milliseconds(),
|
||||
"memory_usage_mb": mem.Sys / 1024 / 1024,
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user