Plone Performance, Profiling, Power-Consumption

Jens Klein
Jens KleinSoftware Developer and self employed consultant at BlueDynamics Alliance
Performance
https://www.deviantart.com/cannikin1701/art/Discovery-sSpore-Jump-719880707
Plone Performance, Profiling, Power-Consumption
Plone Performance, Profiling, Power-Consumption
Plone Performance, Profiling, Power-Consumption
Plone Performance, Profiling, Power-Consumption
Plone Performance, Profiling, Power-Consumption
Plone Performance, Profiling, Power-Consumption
How to find
the performance problem?
Tools
Tools mainly used
●
py-spy
runtime profiler for Python programs
●
repoze.profile
Python profiler integration with WSGI
●
dis
Disassembler for Python bytecode
py-spy
●
Overall mix of the whole application performance
●
Unix „top“ like output of running python program
●
recording mode: for later analyzing
●
Able to attach to live process w/o slowing down
Plone
repoze.profile
●
Python profiler integration as WSGI
middleware
●
Slows down the application
●
Ability to profile a single request and
analyse its call stack by count/ single call
time, accumulated time/ callee/ caller
Plone 5.2.0 to 5.2.3
plone.dexterity
●
avoid early providedBy calls
●
__getattr__ early exit on common attrs
●
caches optimized: assignable, schema cache
●
removal of superfluos threadlocal sync
Plone 5.2.1 to 5.2.2
zope.interface
●
~1.25x -1.5x __hash__ override removals on
Implementer leftover
●
~1.25x __hash__ improvement InterfaceClass
●
~5x lookup/lookupAll/subscriptions
●
memory consumption reduced (jmadden)
DEMO TIME
Future Todo‘s
●
plone.restapi has optimization potential
→ all navigation related
●
plone.registry is called too often
●
Use „python:“ expressions in all page
templates
●
More introspection
Advice:
Start introspecting your performance!
Virtual hugs and stay healthy!
(Q&A at Jitsi face2face as announced)
1 of 16

Recommended

Cloud agnostic serverless with fn project by
Cloud agnostic serverless with fn projectCloud agnostic serverless with fn project
Cloud agnostic serverless with fn projectTodor Todorov
55 views33 slides
PostgreSQL: present and near future by
PostgreSQL: present and near futurePostgreSQL: present and near future
PostgreSQL: present and near futureNaN-tic
444 views26 slides
Fabric presentation by
Fabric presentationFabric presentation
Fabric presentationSuprith Gangawar
456 views16 slides
N map presentation by
N map presentationN map presentation
N map presentationulirraptor
2K views10 slides
2015 COSCUP SDN Workshop -- SDN Quick Start by
2015 COSCUP SDN Workshop -- SDN Quick Start2015 COSCUP SDN Workshop -- SDN Quick Start
2015 COSCUP SDN Workshop -- SDN Quick StartYi Tseng
861 views24 slides
software defined network, openflow protocol and its controllers by
software defined network, openflow protocol and its controllerssoftware defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllersIsaku Yamahata
3.2K views33 slides

More Related Content

Similar to Plone Performance, Profiling, Power-Consumption

Gripshort by
GripshortGripshort
GripshortChris Westin
1.5K views22 slides
conjoon - The Open Source Webmail Client by
conjoon - The Open Source Webmail Clientconjoon - The Open Source Webmail Client
conjoon - The Open Source Webmail ClientThorsten Suckow-Homberg
2.3K views26 slides
EuroPython 2013 - Python3 TurboGears Training by
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingAlessandro Molina
2.1K views59 slides
PHP Development Tools by
PHP  Development ToolsPHP  Development Tools
PHP Development ToolsAntony Abramchenko
341 views39 slides
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With... by
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios
1.9K views33 slides
Swift profiling middleware and tools by
Swift profiling middleware and toolsSwift profiling middleware and tools
Swift profiling middleware and toolszhang hua
1.4K views20 slides

Similar to Plone Performance, Profiling, Power-Consumption(20)

EuroPython 2013 - Python3 TurboGears Training by Alessandro Molina
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears Training
Alessandro Molina2.1K views
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With... by Nagios
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios1.9K views
Swift profiling middleware and tools by zhang hua
Swift profiling middleware and toolsSwift profiling middleware and tools
Swift profiling middleware and tools
zhang hua1.4K views
Improving Operations Efficiency with Puppet by Nicolas Brousse
Improving Operations Efficiency with PuppetImproving Operations Efficiency with Puppet
Improving Operations Efficiency with Puppet
Nicolas Brousse3.9K views
Black hat dc-2010-egypt-uav-slides by Bakry3
Black hat dc-2010-egypt-uav-slidesBlack hat dc-2010-egypt-uav-slides
Black hat dc-2010-egypt-uav-slides
Bakry3378 views
Frameworkless CLI app in PHP by Max Bodnar
Frameworkless CLI app in PHPFrameworkless CLI app in PHP
Frameworkless CLI app in PHP
Max Bodnar18 views
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme... by Nicolas Brousse
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Nicolas Brousse2.4K views
Debugging (Django) application in PyCharm by pavelkoci
Debugging (Django) application in PyCharmDebugging (Django) application in PyCharm
Debugging (Django) application in PyCharm
pavelkoci2.4K views
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc... by Codemotion
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Codemotion124 views
Writing Fast Code - PyCon HK 2015 by Younggun Kim
Writing Fast Code - PyCon HK 2015Writing Fast Code - PyCon HK 2015
Writing Fast Code - PyCon HK 2015
Younggun Kim605 views
Plone Intranet under the hood by Guido Stevens
Plone Intranet under the hoodPlone Intranet under the hood
Plone Intranet under the hood
Guido Stevens2.3K views
Last Month in PHP - June 2016 by Eric Poe
Last Month in PHP - June 2016Last Month in PHP - June 2016
Last Month in PHP - June 2016
Eric Poe276 views
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdf by Jeff Hale
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdfPrefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Prefect Paris Airflow Meetup Jeff Hale April 2023.pdf
Jeff Hale43 views
Build and deploy scientific Python Applications by Ramakrishna Reddy
Build and deploy scientific Python Applications  Build and deploy scientific Python Applications
Build and deploy scientific Python Applications
Ramakrishna Reddy753 views
Unmanned Aerial Vehicles: Exploit Automation with the Metasploit Framework by egypt
Unmanned Aerial Vehicles: Exploit Automation with the Metasploit FrameworkUnmanned Aerial Vehicles: Exploit Automation with the Metasploit Framework
Unmanned Aerial Vehicles: Exploit Automation with the Metasploit Framework
egypt1.6K views
Guzzle in Drupal 8 and as a REST client - Артем Мирошник by DrupalCampDN
Guzzle in Drupal 8 and as a REST client - Артем МирошникGuzzle in Drupal 8 and as a REST client - Артем Мирошник
Guzzle in Drupal 8 and as a REST client - Артем Мирошник
DrupalCampDN1.5K views
(phpconftw2012) PHP as a Middleware in Embedded Systems by sosorry
(phpconftw2012) PHP as a Middleware in Embedded Systems(phpconftw2012) PHP as a Middleware in Embedded Systems
(phpconftw2012) PHP as a Middleware in Embedded Systems
sosorry1.9K views

More from Jens Klein

RelStorage Plone Zope RDB Storage Backend by
RelStorage Plone Zope RDB Storage BackendRelStorage Plone Zope RDB Storage Backend
RelStorage Plone Zope RDB Storage BackendJens Klein
135 views10 slides
RelStorage - an alternative ZODB Backend by
RelStorage - an alternative ZODB BackendRelStorage - an alternative ZODB Backend
RelStorage - an alternative ZODB BackendJens Klein
670 views14 slides
Big Fat FastPlone - Scale up, speed up by
Big Fat FastPlone - Scale up, speed upBig Fat FastPlone - Scale up, speed up
Big Fat FastPlone - Scale up, speed upJens Klein
815 views40 slides
Schlangenhochzeit in-der Wolke - Pyramid auf Google Appengine by
Schlangenhochzeit in-der Wolke - Pyramid auf Google AppengineSchlangenhochzeit in-der Wolke - Pyramid auf Google Appengine
Schlangenhochzeit in-der Wolke - Pyramid auf Google AppengineJens Klein
1.4K views36 slides
YAFOWIL - Webformulare in Python ohne Kopfschmerzen by
YAFOWIL - Webformulare in Python ohne KopfschmerzenYAFOWIL - Webformulare in Python ohne Kopfschmerzen
YAFOWIL - Webformulare in Python ohne KopfschmerzenJens Klein
1.8K views11 slides
Ausfallsichere Kultur mit Plone by
Ausfallsichere Kultur mit PloneAusfallsichere Kultur mit Plone
Ausfallsichere Kultur mit PloneJens Klein
1.3K views33 slides

More from Jens Klein(14)

RelStorage Plone Zope RDB Storage Backend by Jens Klein
RelStorage Plone Zope RDB Storage BackendRelStorage Plone Zope RDB Storage Backend
RelStorage Plone Zope RDB Storage Backend
Jens Klein135 views
RelStorage - an alternative ZODB Backend by Jens Klein
RelStorage - an alternative ZODB BackendRelStorage - an alternative ZODB Backend
RelStorage - an alternative ZODB Backend
Jens Klein670 views
Big Fat FastPlone - Scale up, speed up by Jens Klein
Big Fat FastPlone - Scale up, speed upBig Fat FastPlone - Scale up, speed up
Big Fat FastPlone - Scale up, speed up
Jens Klein815 views
Schlangenhochzeit in-der Wolke - Pyramid auf Google Appengine by Jens Klein
Schlangenhochzeit in-der Wolke - Pyramid auf Google AppengineSchlangenhochzeit in-der Wolke - Pyramid auf Google Appengine
Schlangenhochzeit in-der Wolke - Pyramid auf Google Appengine
Jens Klein1.4K views
YAFOWIL - Webformulare in Python ohne Kopfschmerzen by Jens Klein
YAFOWIL - Webformulare in Python ohne KopfschmerzenYAFOWIL - Webformulare in Python ohne Kopfschmerzen
YAFOWIL - Webformulare in Python ohne Kopfschmerzen
Jens Klein1.8K views
Ausfallsichere Kultur mit Plone by Jens Klein
Ausfallsichere Kultur mit PloneAusfallsichere Kultur mit Plone
Ausfallsichere Kultur mit Plone
Jens Klein1.3K views
FISE Integration with Python and Plone by Jens Klein
FISE Integration with Python and PloneFISE Integration with Python and Plone
FISE Integration with Python and Plone
Jens Klein683 views
Plone is so semantic, isn't it? by Jens Klein
Plone is so semantic,  isn't it?Plone is so semantic,  isn't it?
Plone is so semantic, isn't it?
Jens Klein2.1K views
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009 by Jens Klein
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
AGX - Tree Transformations with Python - Lightning Talk at Plone Conference 2009
Jens Klein587 views
cornerstone.soup Lighning Talk on Plone Conference 2009 by Jens Klein
cornerstone.soup Lighning Talk on Plone Conference 2009cornerstone.soup Lighning Talk on Plone Conference 2009
cornerstone.soup Lighning Talk on Plone Conference 2009
Jens Klein596 views
Was ist Plone? by Jens Klein
Was ist Plone?Was ist Plone?
Was ist Plone?
Jens Klein563 views
Projekte mit Plone by Jens Klein
Projekte mit PloneProjekte mit Plone
Projekte mit Plone
Jens Klein739 views
Plone - Community, Entwicklung, Support by Jens Klein
Plone - Community, Entwicklung, SupportPlone - Community, Entwicklung, Support
Plone - Community, Entwicklung, Support
Jens Klein739 views
Plone Conference 2007 Naples: Lightning Talk Daidalos by Jens Klein
Plone Conference 2007 Naples: Lightning Talk DaidalosPlone Conference 2007 Naples: Lightning Talk Daidalos
Plone Conference 2007 Naples: Lightning Talk Daidalos
Jens Klein551 views

Recently uploaded

Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Lisi Hocke
35 views124 slides
Introduction to Maven by
Introduction to MavenIntroduction to Maven
Introduction to MavenJohn Valentino
6 views10 slides
Electronic AWB - Electronic Air Waybill by
Electronic AWB - Electronic Air Waybill Electronic AWB - Electronic Air Waybill
Electronic AWB - Electronic Air Waybill Freightoscope
5 views1 slide
Page Object Model by
Page Object ModelPage Object Model
Page Object Modelartembondar5
6 views5 slides
.NET Deserialization Attacks by
.NET Deserialization Attacks.NET Deserialization Attacks
.NET Deserialization AttacksDharmalingam Ganesan
5 views50 slides
Dapr Unleashed: Accelerating Microservice Development by
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice DevelopmentMiroslav Janeski
15 views29 slides

Recently uploaded(20)

Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by Lisi Hocke
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Lisi Hocke35 views
Electronic AWB - Electronic Air Waybill by Freightoscope
Electronic AWB - Electronic Air Waybill Electronic AWB - Electronic Air Waybill
Electronic AWB - Electronic Air Waybill
Freightoscope 5 views
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski15 views
Quality Engineer: A Day in the Life by John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino7 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
Understanding HTML terminology by artembondar5
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminology
artembondar57 views
Top-5-production-devconMunich-2023-v2.pptx by Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app8 views
How Workforce Management Software Empowers SMEs | TraQSuite by TraQSuite
How Workforce Management Software Empowers SMEs | TraQSuiteHow Workforce Management Software Empowers SMEs | TraQSuite
How Workforce Management Software Empowers SMEs | TraQSuite
TraQSuite6 views
Introduction to Git Source Control by John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino7 views
Top-5-production-devconMunich-2023.pptx by Tier1 app
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptx
Tier1 app9 views
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi216 views
AI and Ml presentation .pptx by FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8714 views

Plone Performance, Profiling, Power-Consumption