Sample Header Ad - 728x90

The most reliable way of testing XAMPP / Apache httpd performance

1 vote
1 answer
306 views
**tl;dr** _What is the best / the most reliable way of testing and comparing performance of XAMPP / Apache server running on different computers and cloud services? If I need a high-level result (just a compare of performance between different option) will measuring browser response times be enough? Or is there any better option?_ ---- I am using [XAMPP](https://www.apachefriends.org/index.html) in three versions (with PHP PHP 7.4, 8.0 and 8.1) on four different gears: * Very, very old PC with Windows XP * Old PC with Windows 10 * Very new and ultra fast PC with Windows 11 * Raspberry Pi 3B+ In addition, I am also using Apache server (but not entire XAMPP) on 12 years old NAS with Linux and in a couple of cloud solutions from AWS, Digital Ocean and OVH. In the same time I am a complete newbie when it comes into performance testing. What would be the best / the most promising or reliable way of testing speed of serving websites / processing API requests on all these gears? The scope or expectations from such test is a quite very high-level in my case. I just want to learn myself: * If using given piece of hardware is or isn't pointless (in case of actual computers) * If there is any clearly readable correlation between service configuration / monthly fee and web server performance (in case of cloud services) Thus, I don't expect any sophisticated results, reports or number. Just one (or more) factors that will allow me to distinguish / compare results of the same piece of software (that I normally use) running on different hardware and cloud options. Since I am a complete beginner to this topic, the only idea that came to my mind is to manually invoke each request directly from my browser and measure response time as reported by browser's dev tools. Is there anything better? ---- **EDIT**: To clarify the question. I don't want to test a hardware. I want to test: * Exactly the same piece of software (XAMPP / Apache httpd) * In exactly the same version * Running on few different hardware (or cloud) platforms I am an author of a several webapps (but I am purely a developer, not a dev ops hence the question). All of them are purely internal (intranets) and not public at all. All of them are: * Served using exactly the same platform (XAMPP) in exactly the same version * Developed using the same language (PHP), framework (Yii 2) and version * Developed by the same team and using the same coding principles Based on above we can assume (can we?) that even though these are all different webapps, their difference is nearly purely business (functional) and therefore their performance will be strongly connected to the number of visitors and the hardware used to serve it. Some of these apps are visited / used by 3-5 persons per day, some of then -- by 50 per hour (at most). By getting an unique solution to test performance of XAMPP under different gears I want to answer myself questions like: * Is using that very old PC enough to serve the XYZ app, with 3-5 visitors per day or is using it pointless / nonsense? * Can I use that fairly new laptop as a secondary (backup) server for the ABC app that has 25 visits per hour at most or is such hardware not enough? Sorry, if you see my question and affords pointless, but I an an eco-maniac and I want to do _virtually everything_ to give my old hardware a second life, second chance or second assignment. Trashing it is the very, very last scenario that I consider. Hence this question.
Asked by trejder (771 rep)
May 29, 2022, 08:40 PM
Last activity: May 31, 2022, 07:39 AM