Skip to content

Instantly share code, notes, and snippets.

@safecat
Last active July 28, 2022 11:24
Show Gist options
  • Save safecat/f450ce5ed5a51b3b6f32 to your computer and use it in GitHub Desktop.
Save safecat/f450ce5ed5a51b3b6f32 to your computer and use it in GitHub Desktop.
ApacheBench for Mac
# ATTENTION PLEASE!
# NOTE BY @riwazp7
# Note for future visitors of this gist: Mac OS has Apache Benchmark by default ab --help
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar -xzf libtool-2.4.2.tar.gz
cd libtool-2.4.2
./configure && make && sudo make install
# brew install 'https://raw.github.com/simonair/homebrew-dupes/e5177ef4fc82ae5246842e5a544124722c9e975b/ab.rb'
# brew test ab
curl -O https://archive.apache.org/dist/httpd/httpd-2.4.2.tar.bz2
tar zxvf httpd-2.4.2.tar.bz2
cd httpd-2.4.2.tar.bz2
./configure && make && make install
@juliofalbo
Copy link

juliofalbo commented Jun 5, 2019

@Chachmin
Copy link

@riwazp7 It doesn't get much better than this, +1

Copy link

ghost commented Jul 15, 2019

+1

@CemalUnal
Copy link

@bhushanbrb
Copy link

macOS comes with ab. man ab

thanks

@kgbook
Copy link

kgbook commented Sep 17, 2019

Note for future visitors of this gist: Mac OS has Apache Benchmark by default ab --help

thanks

@Saukto
Copy link

Saukto commented Oct 9, 2019

@oguzozan
Copy link

@sagespidy
Copy link

@sap9433
Copy link

sap9433 commented Nov 25, 2019

lol. OSX comes with apache benchmark . type man ab in your Mac

@iamSampath
Copy link

+1

@roman-1983
Copy link

@sap9433 is right πŸ‘

@abdulrehmank
Copy link

Note for future visitors of this gist: Mac OS has Apache Benchmark by default ab --help

πŸ‘

@tommym9
Copy link

tommym9 commented Jun 10, 2020

Note for future visitors of this gist: Mac OS has Apache Benchmark by default ab --help

Hero cheers!

@swapnilpal-fitternity
Copy link

Note for future visitors of this gist: Mac OS has Apache Benchmark by default ab --help

Edit 2020: this is popular! Glad my comment saved a tiny bit of time for so many people πŸ™‚

+1 πŸ‘

@ArjunDandagi
Copy link

@gersonazgo
Copy link

@LoFe
Copy link

LoFe commented Sep 30, 2020

@fbarrios-condor
Copy link

πŸ‘

@sgc109
Copy link

sgc109 commented Oct 31, 2020

@levchenkoIvan
Copy link

@riwazp7 πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment