Skip to content

cyberllloner/ab-quick-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 AB Quick Reporter

Preview of summarized AB text and chart

The simplest way to turn Apache Bench results into instant insights and beautiful charts.

MIT License

✨ Features

  • Easy to Use: Simple commands and scripts—no complicated setup.
  • Automated Summaries: Parse and summarize Apache Bench output in seconds.
  • Instant Visualizations & Export: Generate beautiful, shareable charts (requests/sec, latency, and more) for reports and presentations.
  • Simplified Charts: Easy-to-understand visualizations make performance data clear for everyone.

🧠 All scripts in this project were generated with the help of AI.

⚡️ Quick Start

1. Install Requirements

AB Quick Reporter requires Python 3.10+ and matplotlib.

Install matplotlib with apt (system-wide):

sudo apt update
sudo apt install python3-matplotlib
Or use pip (recommended: inside a virtual environment)
python3 -m venv venv
source venv/bin/activate
pip install matplotlib

2. Run Apache Bench

Benchmark your server and save the output:

ab -n 100 -c 5 https://example.com/ > ab-result.txt

3. Summarize Results

Make the shell script executable:

sudo chmod +x summary.sh

Then run it to extract the summary:

./summary.sh ab-result.txt > ab-summary.txt

4. Generate Charts

Turn your summary into a beautiful visualization:

python3 charts.py ab-summary.txt
  • This script will generate image files (e.g., ab-results.png) with clear, informative charts using matplotlib.

📄 License

This project is licensed under the MIT License.

⭐ Found this useful? Star the repo to show your support!