Title: Bad Performance?
Last modified: August 30, 2016

---

# Bad Performance?

 *  [MKacc](https://wordpress.org/support/users/mkacc/)
 * (@mkacc)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bad-performance-4/)
 * Hey Guys!
 * Im in love with this plugin, does exactly what I want it to do. But I seem to
   have a rather annoying problem with this.
 * It seems to slow down my site quite a bit.
 * According to P3 plugin profiler, This plugin is the biggest performance thief
   on my site.
 * Firewall takes 32% of the plugin loading time on 0,6-0,8seconds.
    second place
   is wp super cache on 23% 0,4sec loading time..
 * Any possible fixes for this issue? Or is this completely normal?
 * My Website Total Load Time is on 3,4 seconds, all images are optimized with EWWW,
   before the images were optimized the load time was around 5,5 seconds…
 * Is there any way to improve the performance of this plugin? Not all functions
   in the firewall are enabled by the way
 * [https://wordpress.org/plugins/wp-simple-firewall/](https://wordpress.org/plugins/wp-simple-firewall/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bad-performance-4/#post-6799134)
 * We’ve run the same profiler and we have seen similar results. What it’s measuring
   is the % processor usage, but it’s not fully reflective of your load time.
 * Taking your numbers as an example, you’ll have found that the plugin’s ~33% time
   would not actually change before or after your images were optimized. So your
   site was loading at 5.5s, and then it’s down to 3.4s. But, the % processing used
   by the plugin would be unchanged. What you optimized was the delivering of the
   data to the client, and my guess is there’s more to be done.
 * The P3 profiler plugin is alright, but it doesn’t actually represent your page
   load time. It represents the amount of processing time a plugin takes during 
   the load. What it can’t show you is how fast your site is loading resources, 
   delivering them to your client (browser) and how fast/slow your database queries
   are running. As you’ve seen, you can optimize your site (with your images) and
   it has no changes on % time the firewall runs.
 * Does that make sense?
 * This is the assumption that is being made here:
    My site is loading slow. So 
   I’ll run performance profiling on it. I found P3. It says the Firewall uses 33%
   processing time. Therefore, the Firewall plugin is responsible for the slow loading
   times.
 * But actually, unfortunately, these are not valid links and this is a common mistake
   with the P3 profile plugin. It’s really very difficult to ascertain bottlenecks
   in site loading performance. You identified 1 and optimized it. But just because
   the Firewall takes up much of the performance in terms of CPU time, doesn’t make
   it the culprit.
 * If the Firewall is say, 0.7s and that’s 33%. That means 100% is 2 seconds. Before
   optimization you have ~1.5s extra of client resources loading and db read/write.
   That 1.5 is actually about 40% of the total (3.5s).
 * Take an extreme example. You could have a plugin which does nothing else except
   crunch data and read/write to the DB, and then queue in JS and CSS files in the
   client front-end. The CPU time would be miniscule, but the site load time would
   be HUGE. CPU usage time isn’t correlated to the load time.
 *  Thread Starter [MKacc](https://wordpress.org/support/users/mkacc/)
 * (@mkacc)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bad-performance-4/#post-6799138)
 * Hey, Thanks for your detailed response.
 * I love this plugin and im not saying it didnt go down in % after optimizing the
   images.
 * Im just saying optimizing the images did help the loadtime, so im wondering, 
   is there any way to maybe decrease the usage of the firewall? Or is this loading
   time completely normal?
 * Is it normal that the firewall has the biggest % of plugin loadtimes? Any tips
   to make the website faster?
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bad-performance-4/#post-6799147)
 * Well you’re already using a caching plugin, so that’d certainly help you. WP 
   Rocket is supposed to be a great plugin, though it’s premium, but I hear nothing
   but good stories.
 * We’ve done quite a lot of optimization on our plugin. It used to come up worse
   on results.
 * forgetting P3 for now, if you can run front-end load time tests with and without
   the firewall plugin active, I’d like to hear your results. Make sure and run 
   several and get a range of results. If you do this and you’re still seeing significant
   performance issues, I’d definitely like to dig into that further.
 * Another way to optimized load time is to simply reduce the number of resources.
   This takes a bit of work and maintenance but can see massive gains. The principle
   is that you have a load impact for every CSS/JS file you load… so why not try
   to combine them into 1 or few. Check this out:
    [http://stackoverflow.com/questions/9287823/combine-and-minify-multiple-css-js-files](http://stackoverflow.com/questions/9287823/combine-and-minify-multiple-css-js-files)
 * Also, try CloudFlare – we use it on every single site we run. It’s basically 
   a free CDN + security 🙂
    [https://www.icontrolwp.com/2012/08/cloudflare-boost-wordpress-security-performance/](https://www.icontrolwp.com/2012/08/cloudflare-boost-wordpress-security-performance/)
 * Thanks for reporting this and if you can demonstrate significant changes in your
   site loading time with our plugin, I’ll definitely investigate further, but P3
   just isn’t sufficient for what it is.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bad Performance?’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/bad-performance-4/#post-6799147)
 * Status: not resolved