From c0abe841b02e28aae8c82e71370f005915734a25 Mon Sep 17 00:00:00 2001 From: celogeek <65178+celogeek@users.noreply.github.com> Date: Sat, 30 Sep 2023 20:27:53 +0200 Subject: [PATCH] set elapse in ms --- internal/converter/converter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/converter/converter.go b/internal/converter/converter.go index ef5c93e..3b2d5a5 100644 --- a/internal/converter/converter.go +++ b/internal/converter/converter.go @@ -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, }, })