mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
benchmark
This commit is contained in:
@@ -17,9 +17,7 @@ def c1000k(c):
|
||||
# make sure it runs till 1 million
|
||||
|
||||
|
||||
def benchmark(c):
|
||||
def wrk(c):
|
||||
apt_get_install(c, 'wrk')
|
||||
c.sudo('mkdir -p /data/ofm/benchmark')
|
||||
put(c, f'{SCRIPTS_DIR}/http_host/benchmark/wrk_custom_list.lua', '/data/ofm/benchmark')
|
||||
|
||||
# wrk -c10 -d10s -t1 -s /data/ofm/benchmark/wrk_custom_list.lua http://localhost
|
||||
|
||||
Reference in New Issue
Block a user