# WebBench_by_cpp **Repository Path**: Rubint0x/web-bench_by_cpp ## Basic Information - **Project Name**: WebBench_by_cpp - **Description**: WebBench_by_cpp,async version - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-06 - **Last Updated**: 2023-09-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Webbench Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() for simulating multiple clients and can use HTTP/0.9-HTTP/1.1 requests. This benchmark is not very realistic, but it can test if your HTTPD can realy handle that many clients at once (try to run some CGIs) without taking your machine down. Displays pages/min and bytes/sec. Can be used in more aggressive mode with -f switch. # Webbench_bycpp Using C++ implement webbench, based on multi-thread、lock、Socket. # how to compile ```bash g++ webbench.cpp -o webbench -std=c++11 -pthread ``` # how to run ```bash ./webbench ``` # author ```Lyu Chuan```