Title: Performance Issues
Last modified: October 4, 2017

---

# Performance Issues

 *  Resolved [paul.baumgartner](https://wordpress.org/support/users/paulbaumgartner/)
 * (@paulbaumgartner)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/)
 * I’m experiencing a strange issue where if I activate the plugin on my Production
   site it causes certain pages to load extremely slowly but does not send any information
   to sentry. It seems to work fine on my local version and reports errors to sentry.
   On our development server (which is basically the same environment as production)
   there are no performance issues but it doesn’t send any info to sentry either.
 * Our site definitely has some php notice errors so they should be coming through.
   Changing wp-debug to True causes the dev site to also run slowly but no error
   notices come through.

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

 *  Plugin Author [stayallive](https://wordpress.org/support/users/stayallive/)
 * (@stayallive)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/#post-9554541)
 * Hey Paul,
 * This can have all sorts of reasons but trying to submit notices to Sentry is 
   the leading suspect although it’s weird nothing is coming through…
 * It’s very hard to debug from my seat, but did you make sure the DSN is set-up
   correctly and not missing a character?
 *  Thread Starter [paul.baumgartner](https://wordpress.org/support/users/paulbaumgartner/)
 * (@paulbaumgartner)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/#post-9557486)
 * Thanks for your help, it seems I’m dealing with a few issues. One resolved, one
   remaining.
 * We were using self hosted sentry and it seems for some reason the web server 
   can’t communicate with the sentry server. However it works from local. I confirmed
   this using a curl request as well: works from local, fails from web server. It’s
   pretty weird and we can’t figure it out.
 * So I switched to the hosted version. Now notices are coming through from Sentry
   but I have to have wordpress debug as true. Is that expected?
 * However this didn’t resolve the performance issue. Page load increases and for
   a page with lots of php notices (around 10 notices) it increases from around 
   2s to 20s. It’s definitely sentry because if I comment out define(‘WP_SENTRY_DSN’,
   $dsn); it returns to normal.
 * I’ll try and dig around in the code but I’m an amateur developer so any further
   advice would be helpful.
 *  Thread Starter [paul.baumgartner](https://wordpress.org/support/users/paulbaumgartner/)
 * (@paulbaumgartner)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/#post-9557589)
 * Update: Resolving the php notices on our site resolved the performance issues.
   It does leave me with a nagging concern that the issue tracker exacerbates any
   issues though.
 *  Plugin Author [stayallive](https://wordpress.org/support/users/stayallive/)
 * (@stayallive)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/#post-9558820)
 * Hey Paul,
 * WP_DEBUG should definitly not be on to see notices in Sentry, that is why the
   performance hit also occures with WP_DEBUG off, it’s still submitting notices.
 * Unfortunalty there is not much we can do about this, notices can be disabled 
   ofcourse so you won’t be bothered by them by they are “errors” and are submitted
   to Sentry and that takes time and overhead for the HTTP request, there is not
   much to do about that I am afraid. Lot’s of errors -> lot’s of overhead.
 * Usually the performance penalty is a non-issue because if there is an error (
   or notice causing incorrect behavior) I would say you want to know about it instead
   of having the best performance on a broken site 🙂
 * If you are using the Sentry.io service pleaase do contact support to find out
   why there are connection issues from your server.

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

The topic ‘Performance Issues’ is closed to new replies.

 * ![](https://ps.w.org/wp-sentry-integration/assets/icon-256x256.jpg?rev=1772463)
 * [Sentry for WordPress](https://wordpress.org/plugins/wp-sentry-integration/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sentry-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sentry-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sentry-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sentry-integration/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [stayallive](https://wordpress.org/support/users/stayallive/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/performance-issues-24/#post-9558820)
 * Status: resolved