Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
ASTRAPI Posted October 28, 2013 Posted October 28, 2013 Hello How can i measure the performance on my server before and after using APC cache? So i can check how better is performing using numbers? Thanks
Makoto Posted October 31, 2013 Posted October 31, 2013 One easy method would be to enable level 1 debugging on your forum before and after. I generally always leave this enabled on my forums. You can enable it by going to System Settings > General Configuration in your ACP. Look for this setting, and set it accordingly, Keep APC disabled after enabling this and browse around your forum a bit. View a few threads, profile pages, and make note of the page execution times for any other IPS applications you have installed. (All of this information will be displayed in your sites footer after enabling level 1 debugging) Then enable APC and repeat the process. Then just compare the execution times for the pages. For what it's worth, I use Nginx and PHP-FPM on my server. To ensure accurate results, I disable use_apc from conf_global and disable APC entirely in my PHP configuration before restarting PHP-FPM when testing. This ensures it really is disabled when you're comparing results. (The execution time of the board index on my development forum seems to average around ~0.07 seconds without APC and ~0.03 seconds with, to provide a very loose example.)
ASTRAPI Posted October 31, 2013 Author Posted October 31, 2013 I want to count using numbers and not with the eye feeling.... :)
Rhett Posted October 31, 2013 Posted October 31, 2013 He provided you with what you need, the execution time would give you a good idea and level of performance with and without it enabled.
Grumpy Posted November 1, 2013 Posted November 1, 2013 If you want a value relative to your server, you could just hit top/iostat and check the differences in load.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.