diff --git a/benchmarks/benchmarks-utils.mjs b/benchmarks/benchmarks-utils.mjs index 8ca38054..c559e13f 100644 --- a/benchmarks/benchmarks-utils.mjs +++ b/benchmarks/benchmarks-utils.mjs @@ -227,6 +227,8 @@ export const runPoolifierBenchmarkTatamiNg = async ( export const convertTatamiNgToBmf = (report) => { return report.benchmarks .map(({ name, stats }) => { + // https://en.wikipedia.org/wiki/Propagation_of_uncertainty#Example_formulae + const throughputSd = (1e9 * stats?.sd) / stats?.avg ** 2 return { [name]: { latency: { @@ -236,6 +238,8 @@ export const convertTatamiNgToBmf = (report) => { }, throughput: { value: stats?.iters, + lower_value: stats?.iters - throughputSd, + upper_value: stats?.iters + throughputSd, }, }, }