SlideShare a Scribd company logo
Show & tell – what’s going on?
Do you know what your web server is doing?
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
• Do you know what it’s being asked to do?
• Do you know how long it takes to do it?
• Do you know how each plugin affects your server performance?
oik-bwtrace – debug trace
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
WordPress Plugin: https://wordpress.org/plugins/oik-bwtrace/
GitHub repo: https://github.com/bobbingwide/oik-bwtrace
Documentation: https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
Daily trace summary
Trace file
What else might be useful?
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
RIGHT NOW
• Where we are in the code
• How many times we’ve been here
• How many errors we’ve seen
• Current time
• Elapsed time
• Current filter
• Number of hooks performed
• Number of queries performed
• Current post ID
• Memory usage
• Number of files loaded
• Number of errors detected
• Parameters passed to function
• Any saved output
• Debug backtrace callstack
PREVIOUSLY
• Request and parameters
• Globals: $_REQUEST, $_GET, $_POST
• Request type
• What to look out for
• Tracing level
AT SHUTDOWN
• What happened: actions and
filters invoked, files loaded,
saved queries, output buffer,
summary status report
sb-chart-block
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
WordPress Plugin: https://wordpress.org/plugins/sb-chart-block - submitted yesterday - awaiting review
GitHub repo: https://github.com/bobbingwide/sb-chart-block
Documentation: https://www.oik-plugins.com/oik-plugins/sb-chart-block/
Slog: Reports
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
WordPress Plugin:
GitHub repo: https://github.com/bobbingwide/slog
Documentation: https://www.oik-plugins.com/oik-plugins/slog
Post process
daily trace
reports
• Reports
• Compare
• Download
• Filter
• Driver
• Settings
Slog: Driver
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
Slog: Compare
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
https://herbmiller.me/slog-bloat/ - for the interactive version
https://top-10-wp-plugins.com/ - for latest Top 10 by total downloads and other charts
Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
Slog: Today’s results
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
For reference
© Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
WordPress Plugin: https://wordpress.org/plugins
GitHub repo: https://github.com/bobbingwide
Documentation: https://www.oik-plugins.com/oik-plugins
https://www.wp-pompey.org.uk/wp-content/uploads/2020/05/oik-bwtrace-lightning-talk-20-May-2020-v0.0.0.pdf
https://www.youtube.com/watch?v=4zApqLtPNUk
Oik-bwtrace Sb-chart-block Slog

More Related Content

What's hot

Git Ready! Workflows
Git Ready! WorkflowsGit Ready! Workflows
Git Ready! Workflows
Atlassian
 
Gradle Show and Tell
Gradle Show and TellGradle Show and Tell
Gradle Show and Tell
Steve Pember
 
Flex and .NET Integration
Flex and .NET IntegrationFlex and .NET Integration
Flex and .NET Integration
icaraion
 
WordCamp SF 2014 - WIRED Migration Project
WordCamp SF 2014 - WIRED Migration ProjectWordCamp SF 2014 - WIRED Migration Project
WordCamp SF 2014 - WIRED Migration Project
kvignos
 
Monitoring Gengo using Saas
Monitoring Gengo using SaasMonitoring Gengo using Saas
Monitoring Gengo using Saas
Yosuke Tomita
 
Git 101
Git 101Git 101
Git 101
Kohei Arai
 
Git branching strategies
Git branching strategiesGit branching strategies
Git branching strategies
jstack
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
Sebastian Helzle
 
Git workflows
Git workflowsGit workflows
Git workflows
Xpand IT
 
Git workflow in agile development
Git workflow in agile developmentGit workflow in agile development
Git workflow in agile development
Zack Siri
 
5分で作る開発環境
5分で作る開発環境5分で作る開発環境
5分で作る開発環境
Yusuke Kano
 
GitLab webcast - Release 8.4
GitLab webcast - Release 8.4GitLab webcast - Release 8.4
GitLab webcast - Release 8.4
GitLab, Inc
 
Testing Grails Applications With Selenium Rc
Testing Grails Applications With Selenium RcTesting Grails Applications With Selenium Rc
Testing Grails Applications With Selenium Rc
Robert Fletcher
 
Contributing to Impala
Contributing to ImpalaContributing to Impala
Contributing to Impala
Cloudera, Inc.
 
GitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorialGitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorial
Heather McNamee
 
Where is CEO?
Where is CEO?Where is CEO?
Where is CEO?
Yongjun Kim
 
Introducing GitLab
Introducing GitLabIntroducing GitLab
Introducing GitLab
Taisuke Inoue
 
Git censored.key
Git censored.keyGit censored.key
Git censored.key
mkramer2
 
Make Your Team Flow
Make Your Team FlowMake Your Team Flow
Make Your Team Flow
Chad Moone
 
Bringing Pull Request to Gerrit
Bringing Pull Request to GerritBringing Pull Request to Gerrit
Bringing Pull Request to Gerrit
Eryk Szymanski
 

What's hot (20)

Git Ready! Workflows
Git Ready! WorkflowsGit Ready! Workflows
Git Ready! Workflows
 
Gradle Show and Tell
Gradle Show and TellGradle Show and Tell
Gradle Show and Tell
 
Flex and .NET Integration
Flex and .NET IntegrationFlex and .NET Integration
Flex and .NET Integration
 
WordCamp SF 2014 - WIRED Migration Project
WordCamp SF 2014 - WIRED Migration ProjectWordCamp SF 2014 - WIRED Migration Project
WordCamp SF 2014 - WIRED Migration Project
 
Monitoring Gengo using Saas
Monitoring Gengo using SaasMonitoring Gengo using Saas
Monitoring Gengo using Saas
 
Git 101
Git 101Git 101
Git 101
 
Git branching strategies
Git branching strategiesGit branching strategies
Git branching strategies
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
 
Git workflows
Git workflowsGit workflows
Git workflows
 
Git workflow in agile development
Git workflow in agile developmentGit workflow in agile development
Git workflow in agile development
 
5分で作る開発環境
5分で作る開発環境5分で作る開発環境
5分で作る開発環境
 
GitLab webcast - Release 8.4
GitLab webcast - Release 8.4GitLab webcast - Release 8.4
GitLab webcast - Release 8.4
 
Testing Grails Applications With Selenium Rc
Testing Grails Applications With Selenium RcTesting Grails Applications With Selenium Rc
Testing Grails Applications With Selenium Rc
 
Contributing to Impala
Contributing to ImpalaContributing to Impala
Contributing to Impala
 
GitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorialGitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorial
 
Where is CEO?
Where is CEO?Where is CEO?
Where is CEO?
 
Introducing GitLab
Introducing GitLabIntroducing GitLab
Introducing GitLab
 
Git censored.key
Git censored.keyGit censored.key
Git censored.key
 
Make Your Team Flow
Make Your Team FlowMake Your Team Flow
Make Your Team Flow
 
Bringing Pull Request to Gerrit
Bringing Pull Request to GerritBringing Pull Request to Gerrit
Bringing Pull Request to Gerrit
 

Similar to WordPress - Whats going on in the server?

Building A Distributed Build System at Google Scale (StrangeLoop 2016)
Building A Distributed Build System at Google Scale (StrangeLoop 2016)Building A Distributed Build System at Google Scale (StrangeLoop 2016)
Building A Distributed Build System at Google Scale (StrangeLoop 2016)
Aysylu Greenberg
 
.Git for WordPress Developers
.Git for WordPress Developers.Git for WordPress Developers
.Git for WordPress Developers
mpvanwinkle
 
Be a Happier Developer with Git / Productive Team #gettinggitright
Be a Happier Developer with Git / Productive Team #gettinggitright Be a Happier Developer with Git / Productive Team #gettinggitright
Be a Happier Developer with Git / Productive Team #gettinggitright
Shunsuke (Sean) Osawa
 
Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015
mwrather
 
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San FranciscoThorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
camunda services GmbH
 
Application Deployment at UC Riverside
Application Deployment at UC RiversideApplication Deployment at UC Riverside
Application Deployment at UC Riverside
Michael Kennedy
 
The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019
Onely
 
The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019
Onely
 
Fun with Github webhooks: verifying Signed-off-by
Fun with Github webhooks: verifying Signed-off-byFun with Github webhooks: verifying Signed-off-by
Fun with Github webhooks: verifying Signed-off-by
Jeff Squyres
 
Snowcamp fastandbeautiful
Snowcamp fastandbeautifulSnowcamp fastandbeautiful
Snowcamp fastandbeautiful
Doug Sillars
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Jan Jongboom
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
Tilton2
 
Git and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slideGit and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slide
RaghavendraVattikuti1
 
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
Zivtech, LLC
 
Collaborative development with git
Collaborative development with gitCollaborative development with git
Collaborative development with git
Joseluis Laso
 
Fastandbeautiful krakow
Fastandbeautiful krakowFastandbeautiful krakow
Fastandbeautiful krakow
Doug Sillars
 
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
Jan Jongboom
 
Baremetal deployment scale
Baremetal deployment scaleBaremetal deployment scale
Baremetal deployment scale
baremetal
 
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
A Peek Behind the Curtain: Managing the Kubernetes Contributor CommunityA Peek Behind the Curtain: Managing the Kubernetes Contributor Community
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
Bob Killen
 
Continuous Deployment to the cloud
Continuous Deployment to the cloudContinuous Deployment to the cloud
Continuous Deployment to the cloud
VMware Tanzu
 

Similar to WordPress - Whats going on in the server? (20)

Building A Distributed Build System at Google Scale (StrangeLoop 2016)
Building A Distributed Build System at Google Scale (StrangeLoop 2016)Building A Distributed Build System at Google Scale (StrangeLoop 2016)
Building A Distributed Build System at Google Scale (StrangeLoop 2016)
 
.Git for WordPress Developers
.Git for WordPress Developers.Git for WordPress Developers
.Git for WordPress Developers
 
Be a Happier Developer with Git / Productive Team #gettinggitright
Be a Happier Developer with Git / Productive Team #gettinggitright Be a Happier Developer with Git / Productive Team #gettinggitright
Be a Happier Developer with Git / Productive Team #gettinggitright
 
Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015
 
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San FranciscoThorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
 
Application Deployment at UC Riverside
Application Deployment at UC RiversideApplication Deployment at UC Riverside
Application Deployment at UC Riverside
 
The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019
 
The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019The New Renaissance of JavaScript - SMX London 2019
The New Renaissance of JavaScript - SMX London 2019
 
Fun with Github webhooks: verifying Signed-off-by
Fun with Github webhooks: verifying Signed-off-byFun with Github webhooks: verifying Signed-off-by
Fun with Github webhooks: verifying Signed-off-by
 
Snowcamp fastandbeautiful
Snowcamp fastandbeautifulSnowcamp fastandbeautiful
Snowcamp fastandbeautiful
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
 
Git and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slideGit and Github workshop ppt slide by slide
Git and Github workshop ppt slide by slide
 
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
Probo.ci Drupal 4 Gov Devops 1/2 day Presentation
 
Collaborative development with git
Collaborative development with gitCollaborative development with git
Collaborative development with git
 
Fastandbeautiful krakow
Fastandbeautiful krakowFastandbeautiful krakow
Fastandbeautiful krakow
 
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
VelocityConf EU 2013 - Turbocharge your mobile web apps by using offline
 
Baremetal deployment scale
Baremetal deployment scaleBaremetal deployment scale
Baremetal deployment scale
 
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
A Peek Behind the Curtain: Managing the Kubernetes Contributor CommunityA Peek Behind the Curtain: Managing the Kubernetes Contributor Community
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
 
Continuous Deployment to the cloud
Continuous Deployment to the cloudContinuous Deployment to the cloud
Continuous Deployment to the cloud
 

More from Herb Miller

My favourite block v0.0.1
My favourite block v0.0.1My favourite block v0.0.1
My favourite block v0.0.1
Herb Miller
 
WordPress block editor v0.0.0
WordPress block editor v0.0.0WordPress block editor v0.0.0
WordPress block editor v0.0.0
Herb Miller
 
Site Health Check for WordPress
Site Health Check for WordPressSite Health Check for WordPress
Site Health Check for WordPress
Herb Miller
 
WordPress Portsmouth Meetup 20 February 2019 v0.0.1
WordPress Portsmouth Meetup 20 February 2019 v0.0.1WordPress Portsmouth Meetup 20 February 2019 v0.0.1
WordPress Portsmouth Meetup 20 February 2019 v0.0.1
Herb Miller
 
WordPress Portsmouth Meetup 20 March 2019 v0.0.1
WordPress Portsmouth Meetup 20 March 2019 v0.0.1WordPress Portsmouth Meetup 20 March 2019 v0.0.1
WordPress Portsmouth Meetup 20 March 2019 v0.0.1
Herb Miller
 
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019 Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
Herb Miller
 
WordPress Portsmouth meetup 20 dec 2018 v0.0.2
WordPress Portsmouth meetup 20 dec 2018 v0.0.2WordPress Portsmouth meetup 20 dec 2018 v0.0.2
WordPress Portsmouth meetup 20 dec 2018 v0.0.2
Herb Miller
 
WordPress Portsmouth Meetup - 15 Nov 2018
WordPress Portsmouth Meetup - 15 Nov 2018WordPress Portsmouth Meetup - 15 Nov 2018
WordPress Portsmouth Meetup - 15 Nov 2018
Herb Miller
 
Switching from Canvas to Storefront
Switching from Canvas to StorefrontSwitching from Canvas to Storefront
Switching from Canvas to Storefront
Herb Miller
 
WordUp Pompey - September 2018
WordUp Pompey - September 2018WordUp Pompey - September 2018
WordUp Pompey - September 2018
Herb Miller
 
WordUp Pompey - July 2018
WordUp Pompey - July 2018 WordUp Pompey - July 2018
WordUp Pompey - July 2018
Herb Miller
 
WordUp Pompey - June 2018
WordUp Pompey - June 2018WordUp Pompey - June 2018
WordUp Pompey - June 2018
Herb Miller
 
WordUp Pompey - May 2018
WordUp Pompey - May 2018WordUp Pompey - May 2018
WordUp Pompey - May 2018
Herb Miller
 
WordUp Pompey - April 2018
WordUp Pompey -  April 2018WordUp Pompey -  April 2018
WordUp Pompey - April 2018
Herb Miller
 
WordUp Pompey- March 2018
WordUp Pompey- March 2018WordUp Pompey- March 2018
WordUp Pompey- March 2018
Herb Miller
 
WordUp Pompey - 22nd Feb 2018 - Gutenberg
WordUp Pompey - 22nd Feb 2018 - GutenbergWordUp Pompey - 22nd Feb 2018 - Gutenberg
WordUp Pompey - 22nd Feb 2018 - Gutenberg
Herb Miller
 
WordUp Pompey reboot! - 18th Jan 2018
WordUp Pompey reboot! - 18th Jan 2018WordUp Pompey reboot! - 18th Jan 2018
WordUp Pompey reboot! - 18th Jan 2018
Herb Miller
 
Responsive web design: WordUp Pompey! Feb-2012
Responsive web design: WordUp Pompey!  Feb-2012Responsive web design: WordUp Pompey!  Feb-2012
Responsive web design: WordUp Pompey! Feb-2012
Herb Miller
 
Shortcodes: WordUp Pompey! Feb-2012
Shortcodes: WordUp Pompey! Feb-2012Shortcodes: WordUp Pompey! Feb-2012
Shortcodes: WordUp Pompey! Feb-2012
Herb Miller
 
WordPress is not just a blog
WordPress is not just a blog WordPress is not just a blog
WordPress is not just a blog
Herb Miller
 

More from Herb Miller (20)

My favourite block v0.0.1
My favourite block v0.0.1My favourite block v0.0.1
My favourite block v0.0.1
 
WordPress block editor v0.0.0
WordPress block editor v0.0.0WordPress block editor v0.0.0
WordPress block editor v0.0.0
 
Site Health Check for WordPress
Site Health Check for WordPressSite Health Check for WordPress
Site Health Check for WordPress
 
WordPress Portsmouth Meetup 20 February 2019 v0.0.1
WordPress Portsmouth Meetup 20 February 2019 v0.0.1WordPress Portsmouth Meetup 20 February 2019 v0.0.1
WordPress Portsmouth Meetup 20 February 2019 v0.0.1
 
WordPress Portsmouth Meetup 20 March 2019 v0.0.1
WordPress Portsmouth Meetup 20 March 2019 v0.0.1WordPress Portsmouth Meetup 20 March 2019 v0.0.1
WordPress Portsmouth Meetup 20 March 2019 v0.0.1
 
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019 Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
Yoast SEO Workshop - WordPress Portsmouth Meetup 16 Jan 2019
 
WordPress Portsmouth meetup 20 dec 2018 v0.0.2
WordPress Portsmouth meetup 20 dec 2018 v0.0.2WordPress Portsmouth meetup 20 dec 2018 v0.0.2
WordPress Portsmouth meetup 20 dec 2018 v0.0.2
 
WordPress Portsmouth Meetup - 15 Nov 2018
WordPress Portsmouth Meetup - 15 Nov 2018WordPress Portsmouth Meetup - 15 Nov 2018
WordPress Portsmouth Meetup - 15 Nov 2018
 
Switching from Canvas to Storefront
Switching from Canvas to StorefrontSwitching from Canvas to Storefront
Switching from Canvas to Storefront
 
WordUp Pompey - September 2018
WordUp Pompey - September 2018WordUp Pompey - September 2018
WordUp Pompey - September 2018
 
WordUp Pompey - July 2018
WordUp Pompey - July 2018 WordUp Pompey - July 2018
WordUp Pompey - July 2018
 
WordUp Pompey - June 2018
WordUp Pompey - June 2018WordUp Pompey - June 2018
WordUp Pompey - June 2018
 
WordUp Pompey - May 2018
WordUp Pompey - May 2018WordUp Pompey - May 2018
WordUp Pompey - May 2018
 
WordUp Pompey - April 2018
WordUp Pompey -  April 2018WordUp Pompey -  April 2018
WordUp Pompey - April 2018
 
WordUp Pompey- March 2018
WordUp Pompey- March 2018WordUp Pompey- March 2018
WordUp Pompey- March 2018
 
WordUp Pompey - 22nd Feb 2018 - Gutenberg
WordUp Pompey - 22nd Feb 2018 - GutenbergWordUp Pompey - 22nd Feb 2018 - Gutenberg
WordUp Pompey - 22nd Feb 2018 - Gutenberg
 
WordUp Pompey reboot! - 18th Jan 2018
WordUp Pompey reboot! - 18th Jan 2018WordUp Pompey reboot! - 18th Jan 2018
WordUp Pompey reboot! - 18th Jan 2018
 
Responsive web design: WordUp Pompey! Feb-2012
Responsive web design: WordUp Pompey!  Feb-2012Responsive web design: WordUp Pompey!  Feb-2012
Responsive web design: WordUp Pompey! Feb-2012
 
Shortcodes: WordUp Pompey! Feb-2012
Shortcodes: WordUp Pompey! Feb-2012Shortcodes: WordUp Pompey! Feb-2012
Shortcodes: WordUp Pompey! Feb-2012
 
WordPress is not just a blog
WordPress is not just a blog WordPress is not just a blog
WordPress is not just a blog
 

Recently uploaded

Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
k4ncd0z
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
Donato Onofri
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
Tarandeep Singh
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
rtunex8r
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
3a0sd7z3
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
3a0sd7z3
 

Recently uploaded (16)

Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
 

WordPress - Whats going on in the server?

  • 1. Show & tell – what’s going on? Do you know what your web server is doing? © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik • Do you know what it’s being asked to do? • Do you know how long it takes to do it? • Do you know how each plugin affects your server performance?
  • 2. oik-bwtrace – debug trace © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins/oik-bwtrace/ GitHub repo: https://github.com/bobbingwide/oik-bwtrace Documentation: https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/ Daily trace summary Trace file
  • 3. What else might be useful? © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik RIGHT NOW • Where we are in the code • How many times we’ve been here • How many errors we’ve seen • Current time • Elapsed time • Current filter • Number of hooks performed • Number of queries performed • Current post ID • Memory usage • Number of files loaded • Number of errors detected • Parameters passed to function • Any saved output • Debug backtrace callstack PREVIOUSLY • Request and parameters • Globals: $_REQUEST, $_GET, $_POST • Request type • What to look out for • Tracing level AT SHUTDOWN • What happened: actions and filters invoked, files loaded, saved queries, output buffer, summary status report
  • 4. sb-chart-block © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins/sb-chart-block - submitted yesterday - awaiting review GitHub repo: https://github.com/bobbingwide/sb-chart-block Documentation: https://www.oik-plugins.com/oik-plugins/sb-chart-block/
  • 5. Slog: Reports © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: GitHub repo: https://github.com/bobbingwide/slog Documentation: https://www.oik-plugins.com/oik-plugins/slog Post process daily trace reports • Reports • Compare • Download • Filter • Driver • Settings
  • 6. Slog: Driver © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
  • 7. Slog: Compare © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik https://herbmiller.me/slog-bloat/ - for the interactive version https://top-10-wp-plugins.com/ - for latest Top 10 by total downloads and other charts Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
  • 8. Slog: Today’s results © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
  • 9. For reference © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins GitHub repo: https://github.com/bobbingwide Documentation: https://www.oik-plugins.com/oik-plugins https://www.wp-pompey.org.uk/wp-content/uploads/2020/05/oik-bwtrace-lightning-talk-20-May-2020-v0.0.0.pdf https://www.youtube.com/watch?v=4zApqLtPNUk Oik-bwtrace Sb-chart-block Slog

Editor's Notes

  1. Ever since I started developing plugins for WordPress I’ve wanted to know what’s going on under the covers and how I could improve it. Here’s a chart that visualizes some results. I’ll try to explain them in later slides. There’s some clues in the questions. What’s happening, what’s happening? Moley Mole asks Musky Muskrat in Deputy Dawg ( 1962 – 1963 )
  2. To find out what’s going on I wrote a trace routine. It logs output to trace file. It’s not just a var_dump(). There’s an awful lot of contextual information. It’s similar to query-monitor; it traces front-end, admin, scheduled requests, AJAX requests, REST requests and command line stuff. The main difference is that it produces plain text files you can browse at your leisure. The output is NOT intermingled with the real results. Oik-bwtrace also produces a “Daily Trace Summary” report, showing each request’s relevant(?) statistics at `shutdown`.
  3. To understand any data echoed from a system it’s good to have context. Quite a lot of it. You never know when it’ll come in handy. In a debugger you can get this at run time. But debuggers slow the system down. So does tracing for that matter. Don’t remember to disable tracing when running performance tests.
  4. 5 years ago I wrote a post processing routine (Slog for Server Log) to summarise the requests in the Daily Trace Summary files grouping by elapsed time then merged the output from multiple logs and then manually produced a chart to display the results in Excel. It was a convoluted process. Recently I decided to invest some time to develop a Chart block which I could use to display the results immediately.
  5. Using the server side rendering for the Chart block I was then able to start to visualize the WordPress web server’s processing. The Reports tab is used to analyse a Daily Trace Summary file. Each Report shows the results of a grouping of data by selected values ( eg request type, URI, elapsed time IP address). It displays the results in a chart and table. The chart can show Count, Elapsed, Average, Percent count, Percent average, Cumulative percent count and Cumulative percent average. The table shows all columns. Requests can be automatically filtered by request type.
  6. Again 5 years ago, when running tests to evaluate the effect of activating a plugin or configuration option I used a batch driver to perform a variety of requests closely matching real activity. For the Driver tab I just use one URL. The more requests run the better the results. That’s assuming response times are acceptable.
  7. These are the results of running 100 requests to the home URL having activated each of the top 12 plugins. See my website for an interactive version of the chart. For the latest summary of top 12 plugins see https://top-10-wp-plugins.com/. In this chart we can see that Jetpack, WooCommerce and Elementor are the most resource hungry. https://cwiccer.com/wp-admin/admin.php?page=slog&tab=compare You may ask where the migration line is!
  8. Here’s the Blue Peter version of some tests that I ran today on cwiccer.com with Yoast SEO, JetPack, WooCommerce and combinations. Jetpack in orange was with Jetpack activated but not connected. Jetpack-site-accel is with the Acceleration toggled on. I was visiting the home URL of cwiccer.com which displays latest posts. Vanilla is Twenty Twenty with 3 plugins: oik-bwtrace, sb-chart-block and slog. You can draw your own conclusions.
  9. For more information about these plugins see my GitHub account: bobbingwide, or visit oik-plugins.com. Oik-bwtrace is on wordpress.org, sb-chart-block was submitted yesterday – as a single block plugin. For my lightning talk on oik-bwtrace see the slides on WP-Pompey or watch the video on YouTube. Contact me on Twitter or Slack.