全球主机交流论坛
标题:
在ARM架构运行webBenchmark
[打印本页]
作者:
剑皇大队长
时间:
2021-12-12 21:10
标题:
在ARM架构运行webBenchmark
本帖最后由 剑皇大队长 于 2021-12-19 16:29 编辑
项目地址:
https://github.com/maintell/webBenchmark
(来自:
https://lilynana.eu.org/thread-692122-1-1.html
)
怎样编译适合你的环境架构的二进制程序(适用于任何架构、系统)?
首先安装Git和Golang
CentOS:yum install git golang
Debian/Ubuntu:apt install git golang
Termux:pkg install git golang
然后
git clone https://github.com/maintell/webBenchmark.git
cd webBenchmark
go build
复制代码
国内鸡:
export GOPROXY=https://goproxy.io
git clone https://ghproxy.com/github.com/maintell/webBenchmark.git
cd webBenchmark
go build
复制代码
提供几个已经编译好的
Linux+Arm64
快速运行
wget -qO webBenchmark https://cdn.jsdelivr.net/gh/JHDDZ/d/webBenchmark_linux_arm64
chmod +x webBenchmark
./webBenchmark -c 32 -s http://example.link
复制代码
注意替换下载链接
Android+Arm64
可在Termux运行
快速运行
wget -qO webBenchmark https://cdn.jsdelivr.net/gh/JHDDZ/d@main/webBenchmark_android_arm64
chmod +x webBenchmark
./webBenchmark -c 32 -s http://example.link
复制代码
注意替换下载链接
作者:
剑皇大队长
时间:
2021-12-12 21:12
另外问一下有没有大佬知道,
为什么在鲲鹏环境和骁龙环境编译的不能通用
作者:
gr58046576
时间:
2021-12-12 21:12
好家伙 这是要全平台适配剑皇了
作者:
剑皇大队长
时间:
2021-12-12 21:17
gr58046576 发表于 2021-12-12 21:12
好家伙 这是要全平台适配剑皇了
那必须的
只要是鸡,不管什么架构什么系统,都得能跑啊
作者:
胖胖猪
时间:
2021-12-30 11:39
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p {"www":1,"qq":"2ss"}
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p '{"www":1,"qq":"2ss"}'
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p "{"www":1,"qq":"2ss"}"
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p www=123&q=321
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p 'www=123&q=321'
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p "www=123&q=321"
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p "start":{"100"}, "hobby":{"xxxx"}
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p 'www=123'
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p "www=123"
webBenchmark_x64.exe -c 5 -s http://127.0.0.2/post.php -p www=123
复制代码
以上-p参数的值都设置不成功,请问高手能告诉我怎么设置post的参数吗?
https://github.com/maintell/webBenchmark
欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/)
Powered by Discuz! X3.4