Skip to content

Commit

Permalink
set elapse in ms
Browse files Browse the repository at this point in the history
  • Loading branch information
celogeek committed Sep 30, 2023
1 parent fc6c894 commit c0abe84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
})
Expand Down

0 comments on commit c0abe84

Please sign in to comment.