mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 06:22:16 +00:00
work
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from ssh_lib.config import scripts
|
||||
from ssh_lib.utils import apt_get_install, apt_get_update, put, put_str, sudo_cmd
|
||||
from ssh_lib.config import scripts_dir
|
||||
from ssh_lib.utils import apt_get_install, put
|
||||
|
||||
|
||||
def c1000k(c):
|
||||
@@ -17,6 +17,6 @@ def c1000k(c):
|
||||
def benchmark(c):
|
||||
apt_get_install(c, 'wrk')
|
||||
c.sudo('mkdir -p /data/ofm/benchmark')
|
||||
put(c, f'{scripts}/benchmark/wrk_custom_list.lua', '/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