comparison third_party/wrk/scripts/report.lua @ 186:8cf4ec5e2191 hg-web

Fixed merge conflict.
author MrJuneJune <me@mrjunejune.com>
date Fri, 23 Jan 2026 22:38:59 -0800
parents 94705b5986b3
children
comparison
equal deleted inserted replaced
176:fed99fc04e12 186:8cf4ec5e2191
1 -- example reporting script which demonstrates a custom
2 -- done() function that prints latency percentiles as CSV
3
4 done = function(summary, latency, requests)
5 io.write("------------------------------\n")
6 for _, p in pairs({ 50, 90, 99, 99.999 }) do
7 n = latency:percentile(p)
8 io.write(string.format("%g%%,%d\n", p, n))
9 end
10 end