Giter Club home page Giter Club logo

wadekun / webbench Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ezlippi/webbench

0.0 1.0 0.0 161 KB

Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。

License: Other

Makefile 6.67% C 78.21% Groff 15.12%

webbench's Introduction

WebBench

Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。

##使用:

sudo make clean
sudo make && make install

##命令行选项:

-f|--force               不需要等待服务器响应
-r|--reload              发送重新加载请求
-t|--time <sec>          运行多长时间,单位:秒"
	-p|--proxy <server:port> 使用代理服务器来发送请求
-c|--clients <n>         创建多少个客户端,默认1个"
 	-9|--http09              使用 HTTP/0.9 
-1|--http10              使用 HTTP/1.0 协议
 	-2|--http11              使用 HTTP/1.1 协议
--get                    使用 GET请求方法
--head                   使用 HEAD请求方
--options                使用 OPTIONS请求方法
--trace                  使用 TRACE请求方法
-?|-h|--help             打印帮助信息
-V|--version             显示版本号

webbench's People

Contributors

ezlippi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.