From d70af86d2ad8ca05b2f5e4a3672e25b69d9b795d Mon Sep 17 00:00:00 2001 From: Ben Bierens <39762930+benbierens@users.noreply.github.com> Date: Thu, 30 Jan 2025 17:09:30 +0100 Subject: [PATCH] Update codex/utils/statsummary.nim Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Ben Bierens <39762930+benbierens@users.noreply.github.com> --- codex/utils/statsummary.nim | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/codex/utils/statsummary.nim b/codex/utils/statsummary.nim index ff9080e6..dafe85c6 100644 --- a/codex/utils/statsummary.nim +++ b/codex/utils/statsummary.nim @@ -12,21 +12,9 @@ when defined(metrics): return let timestamp = st.now() - output( - name = st.name & "_min", - value = st.min, - timestamp = timestamp - ) - output( - name = st.name & "_max", - value = st.max, - timestamp = timestamp - ) - output( - name = st.name & "_ravg", - value = st.ravg, - timestamp = timestamp - ) + output(name = st.name & "_min", value = st.min, timestamp = timestamp) + output(name = st.name & "_max", value = st.max, timestamp = timestamp) + output(name = st.name & "_ravg", value = st.ravg, timestamp = timestamp) proc declareStatSummary*(name: string, help: string = ""): StatSummary = when defined(metrics):