Title: Slimstat performance
Last modified: September 8, 2017

---

# Slimstat performance

 *  Resolved [jrogersfp](https://wordpress.org/support/users/jrogersfp/)
 * (@jrogersfp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/)
 * I’ve been seeing my wordpress site slow down a lot lately, and have been looking
   at ways to speed it up. I setup new relic, and it’s showing that slimstats is
   overwhelmingly using up PHP resources. The chart shows 90% of the application
   time is spent on slimstats. I’m doing server side logging (browser logging is
   blocked by too many of our visitors). Is there another suggestion for boosting
   performance? Data I may not need to collect in order to speed up the site?
 * Thanks

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

 *  Thread Starter [jrogersfp](https://wordpress.org/support/users/jrogersfp/)
 * (@jrogersfp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/#post-9480635)
 * Average call time is showing 74.7ms, while the next slowest item is .799ms. It’s
   not making the most calls, but at a rate of 3.35k over 30 min, and that puts 
   it at 252 seconds consumed over the last 30 minutes, with the next highest item
   being 8.56 seconds.
    -  This reply was modified 8 years, 8 months ago by [jrogersfp](https://wordpress.org/support/users/jrogersfp/).
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/#post-9481153)
 * Hi,
 * I would recommend switching the tracker to “Client Mode”, which acts just like
   Google Analytics and does not impact on your website performance as much as “
   Server Mode”. You can change this in Slimstat > Settings > Basic. Out of curiosity,
   have also configured the tables for “perfomance”? You can find this setting under
   the Maintenance tab.
 * How many rows do you have in your wp_slim_stats table?
 * Let me know if the above tweaks make any difference.
 * Best,
    Jason
 *  Thread Starter [jrogersfp](https://wordpress.org/support/users/jrogersfp/)
 * (@jrogersfp)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/#post-9481886)
 * GA stats are far too misrepresentative of actual page views, and the client mode
   still gets blocked by users with uBlock, unless there is a tip there that I’m
   missing. My goal is to report metrics as accurately as possible.
 * I’ll take a look at the performance settings.
 * Here are the stats. I have been running it for 2 weeks now.
 * Engine InnoDB
    wp_slim_stats 17.55 MB (61,856 records) wp_slim_events 1.52 MB(
   10,181 records) wp_slim_stats_archive 16 KB (0 records) wp_slim_events_archive
   16 KB (0 records)
 * Also browsercap.io shows up in the transaction trace as taking upwards of 1.590sec
   for a single page to load. Is it ok to uninstall browscap and still do server
   side?
    -  This reply was modified 8 years, 8 months ago by [jrogersfp](https://wordpress.org/support/users/jrogersfp/).
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/#post-9482462)
 * > the client mode still gets blocked by users with uBlock, unless there is a 
   > tip there that I’m missing.
 * That is correct. But in certain situations it’s a necessary trade-off between
   accuracy and performance. Optimizing your server configuration (my.cnf) and memory
   allocated to PHP might also help, especially if you’re running many other plugins.
 * > Is it ok to uninstall browscap and still do server side?
 * Yes. If you uninstall Browscap, Slimstat will automatically start using its built-
   in heuristic algorithm (not as precise as Browscap, of course) to detect your
   visitors’ browser and operating system.
 * Best,
    Jason

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

The topic ‘Slimstat performance’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/slimstat-performance/#post-9482462)
 * Status: resolved