mirror of
https://github.com/wg/wrk
synced 2026-05-16 10:42:37 +08:00
add optional delay() script function
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- example script that demonstrates adding a random
|
||||
-- 10-50ms delay before each request
|
||||
|
||||
function delay()
|
||||
return math.random(10, 50)
|
||||
end
|
||||
Reference in New Issue
Block a user