User Tools

Site Tools


benchmarking

This is an old revision of the document!


Benchmarking

Benchmark website

Benchmark with ab tool

Syntax and basic options

  • Syntax:
    ab [options] [http[s]://]hostname[:port]/path
  • Basic options:
    • -n requests Number of requests to perform
    • -c concurrency Number of multiple requests to make

examples

  • run benchmark website shop.babies.vn with 250 requests and 15 concurrency multiple requests:
    ab -n 250 -c 15 http://shop.babies.vn/
benchmarking.1411181140.txt.gz · Last modified: 2022/10/29 16:15 (external edit)