From 2bcd7247a603e840c492a8b1b9b5aa6c5a403f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 29 Sep 2024 23:01:37 +0200 Subject: [PATCH] docs: comment a bit benchmark stats data structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/index.d.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 3882672..4796708 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -77,18 +77,18 @@ export interface Report { samples: number min: number max: number - p50: number + p50: number // median p75: number p99: number p995: number - avg: number - iter: number - vr: number - sd: number - rmoe: number - aad: number - mad: number - ss: boolean + avg: number // average time per iteration + iter: number // iterations per second + vr: number // variance + sd: number // standard deviation + rmoe: number // relative margin of error + aad: number // average time absolute deviation + mad: number // median time absolute deviation + ss: boolean // statistical significance } }[] }