For apache, exists the Apache Bench (ab) tool. This tool helps you
measuring the performance of HTTP servers in a Linux environment, it
works by generating a flood of requests (DoS kinda if your server isn't
properly configured the amount of simultaneous requests ...) to a given
URL and returns some easily digestible performance related metrics to
the screen. This simplicity makes it appealing...
11.09