mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Reorganize the structure of benchmarks
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7a13c0dff6
commit
32bfa76703
13
test/benchmark/lmbench/tcp_loopback_http_bw/run.sh
Normal file
13
test/benchmark/lmbench/tcp_loopback_http_bw/run.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench HTTP latency test ***"
|
||||
|
||||
dd if=/dev/zero of=test_file bs=1M count=64
|
||||
echo "test_file" > file_list
|
||||
/benchmark/bin/lmbench/lmhttp &
|
||||
/benchmark/bin/lmbench/lat_http 127.0.0.1 < file_list
|
||||
/benchmark/bin/lmbench/lat_http -S 127.0.0.1
|
Reference in New Issue
Block a user