The document discusses various ways to measure PHP code performance, including microtime, benchmarking libraries, application performance monitoring, load testing, and profiling. It emphasizes that you cannot optimize what you cannot measure and that measuring performance impacts performance. It recommends profiling code to understand how resources are consumed and compares profiles to identify optimizations.
Shopify Services And Solutions Proposal PowerPoint Presentation SlidesSlideTeam
If your company needs to submit a Shopify Services And Solutions Proposal PowerPoint Presentation Slides look no further.Our researchers have analyzed thousands of proposals on this topic for effectiveness and conversion. Just download our template, add your company data and submit to your client for a positive response. http://bit.ly/38dgOLL
Mastering Ownership Mindset: Unlocking Your Potential as a Product Manager.pdfProduct School
The role Product manager plays in influencing leadership to become a product led company, to influence the cross-functional team on a unified product vision and empower ideation and alignment. Above all the mindset to think like an owner needs to be embodied at every step of lean development of a product to reach market fit - in delighting customers and meeting business outcomes.
PMs & the Art of Storytelling by Amazon & United Airlines Sr PMsProduct School
Main Takeaways:
- Start with the problem and the customer
- How to effectively use quantitative and qualitative feedback to build your case
- Adapting your communication based on your audience
- Adapting your communication based on where you're at in the product life-cycle
Our Sales Enablement Plan Playbook is a planning methodology that highlights our premium tool-kit of tools & templates to help you develop a sales enablement plan that increases your win-rate, deal-size and % reps attaining quota.
Shopify Services And Solutions Proposal PowerPoint Presentation SlidesSlideTeam
If your company needs to submit a Shopify Services And Solutions Proposal PowerPoint Presentation Slides look no further.Our researchers have analyzed thousands of proposals on this topic for effectiveness and conversion. Just download our template, add your company data and submit to your client for a positive response. http://bit.ly/38dgOLL
Mastering Ownership Mindset: Unlocking Your Potential as a Product Manager.pdfProduct School
The role Product manager plays in influencing leadership to become a product led company, to influence the cross-functional team on a unified product vision and empower ideation and alignment. Above all the mindset to think like an owner needs to be embodied at every step of lean development of a product to reach market fit - in delighting customers and meeting business outcomes.
PMs & the Art of Storytelling by Amazon & United Airlines Sr PMsProduct School
Main Takeaways:
- Start with the problem and the customer
- How to effectively use quantitative and qualitative feedback to build your case
- Adapting your communication based on your audience
- Adapting your communication based on where you're at in the product life-cycle
Our Sales Enablement Plan Playbook is a planning methodology that highlights our premium tool-kit of tools & templates to help you develop a sales enablement plan that increases your win-rate, deal-size and % reps attaining quota.
Turbocharge Your PM Career: Unleashing 5 Game-Changing TacticsProduct School
In this captivating session at ProductCon, Nikhyl-Singhal, VP of Product at Meta and the founder of The Skip, will share invaluable insights on managing your career like a well-crafted product. Discover the power of long-term thinking, the art of career additive transitions, and the importance of taking ownership of your professional growth. With an emphasis on networking, mentorship, and building superpowers, this talk will equip you with practical strategies to propel your career forward while keeping a smile on your face. Prepare for a dynamic and entertaining session that will leave you inspired and ready to unleash your PM career's true potential!
From Product Vision to Story Map - Lean / Agile Product shapingJérôme Kehrli
A lot of Software Engineering projects fail for a lack of shared vision due to poor communication among people involved in the project.
A sound maintenance of the product backlog can only be achieved if all the people have a good understanding of what they have to do (common vision).
Roman Pichler, in a post originally written in Jul 16 2012, has proposed a really interesting approach: use various canvas to create and share product vision and product backlog creation and refinement.
This presentation is a drive through these various boards and canvas that should be designed in prior to any product development: the Product Vision, the Lean Canvas, The Product Definition and the Story Map.
"Together we break away from the traditional eCommerce monolith, while writing tomorrow’s leading software today."
This presentation is about building the first Headless Magento shop: therake.com. This shop is build with Wordpress and Magento 2 at the base, combined with a nodeJS server and a ReactJS front-end. We include what is Headless? Why would you do this? How did we do it? What is the result and finally why we think this is the future of e-commerce.
The presentation was one of the plenary keynote session on Meet Magento Poland, 18 - 19th of September 2017 in Krakow.
How to Master Product-Led Growth Strategy in B2B by Gainsight CTOProduct School
Main Takeaways:
- Gain visibility into the product journey
- Tie acquisition and retention KPIs with core metrics
- Design product experiences with an outcome mindset
- Create an iterative process to address usability friction
- Leverage user feedback to accelerate learning
The Product Visioning Workshop: A Proven Method for Product Planning and Prio...Perfetti Media
Is your team looking for new product concepts to capture a new market? Do you need to establish a long-term product strategy? Are you working to set a direction to drive roadmap decisions?
In this presentation, we will share a proven approach for creating a long-term product vision that your team can understand and rally behind. We will share all of the techniques you'll need to successfully run a Product Visioning Workshop with your product team and business stakeholders.
You will learn how to create a long-term vision for your product, establish consensus and buy-in across your organization, and prioritize features for the product roadmap. Your product managers will come away equipped to create roadmaps that align with your long-term product strategy.
How to Master Product-Led Growth Strategy in B2B by Gainsight CTOProduct School
Main takeaways:
Main Takeaways:
- Gain visibility into the product journey
- Tie acquisition and retention KPIs with core metrics
- Design product experiences with an outcome mindset
- Create an iterative process to address usability friction
- Leverage user feedback to accelerate learning
Training more about Document Library, OneDrive, Sharepoint Designer, Webpart and how to Deploy custom Webpart solution into Sharepoint 2019 On Premiese
In this presentation you will find information about importance of Key Performance Indicators (KPI's) for subscription-based (SaaS) Internet startups.
The full list of metrics mentioned in the presentation, exact formulas, and examles you can find at http://datmachine.co/saas_metrics.
If you have any questions, don't be shy to drop me a line on my email: efremov(at)datmachine.co.
SharePoint has been on the market from 2001, and since then, matured into a very stable and popular business collaboration platform. The beauty of SharePoint is that it is relatively easy to customize and it provides an experience already familiar to users via Office suite. Most frequent use of the platform by corporations has been in the areas of web content management, information sharing and document management.
However, adoption of SharePoint as a true Project Management Information System (PMIS) has been slow. Out-of-the-box SharePoint is unappealing, customization takes time and acceptance at PMO level is often very bureaucratic.
In this presentation I will demonstrate how you can customize SharePoint to help you with your next project. You will walk away learning tips and tricks that you can implement literally in hours. Among other things, you will learn how SharePoint can help you facilitate project team collaboration, integrate existing methodologies and empower your project team.
The product roadmap is a plan of action that outlines of tactical steps to execute the product strategy pushing the product ahead in the trajectory of planned direction in alignment with the product vision while accomplishing short-term and long-term product objectives
Don't Suck at SharePoint - Avoid the common mistakesBenjamin Niaulin
Recording: http://bit.ly/SeyVK8
How do you avoid the most common mistakes when using SharePoint, if you've never used it before?
What makes SharePoint so popular is also its worse enemy, it's easy to use. As a platform, it allows you to build whatever you want to help the organization. But for it to be successful, you need to avoid the common mistakes made.
As a consultant, I have unfortunately had a lot of experience seeing or even doing some of the things in SharePoint that lead to utter chaos or disaster. That's why I would like to share them with you this time, show you how to not suck at SharePoint.
In this webinar we'll discuss:
-A brief overview of SharePoint as a platform
-Common scenarios SharePoint is used for
-Things that have miserably failed
-Bad architecture
-Solutions and Best Practices when starting
Platforms for the Future of Work, Roger Dickey, GigsterLean Startup Co.
Automation, innovative management practices, and real-time communication tools are creating new models for skilled work. Every professional relies on software to structure and assist their work, and as that software becomes more intelligent it will gradually play a larger role in day-to-day tasks. Eventually, AI-powered platforms will facilitate complex work (from taxes to lawsuits) as easily as Uber calls a cab. Roger Dickey, the founder and CEO of freelance developer platform Gigster, will discuss how marketplaces and intelligent software can combine to improve and accelerate professional work, while making it more fulfilling, more profitable, and more accessible.
Bodin - Hullin & Potencier - Magento Performance Profiling and Best PracticesMeet Magento Italy
Performance is critical to eCommerce businesses, having a direct impact on cart abandonment rate. There’s countless statistics about this. What is missing is the right tools and the best practices. Before even setting up Content Delivery Networks or aiming for low hanging fruits such as images compression, the first thing to look at is the PHP code.
Fabien Potencier and Jacques Bodin-Hullin presented some do’s and don’ts in PHP code performance on Magento 2, what profiling is, and how profiling in development, test, staging and production makes it possible to proactively improve performance. They also unveiled testing strategies which make it possible to automate validation of code iterations with continuous integration and continuous deployment strategies.
This talk is about why I believe having the ability to write tools and/or scripts can help elevate a Pen Testers game to the next level.
The talk is case study driven by the different scenarios I've encountered on assessments and the scripts or tools that have been developed as a result.
Turbocharge Your PM Career: Unleashing 5 Game-Changing TacticsProduct School
In this captivating session at ProductCon, Nikhyl-Singhal, VP of Product at Meta and the founder of The Skip, will share invaluable insights on managing your career like a well-crafted product. Discover the power of long-term thinking, the art of career additive transitions, and the importance of taking ownership of your professional growth. With an emphasis on networking, mentorship, and building superpowers, this talk will equip you with practical strategies to propel your career forward while keeping a smile on your face. Prepare for a dynamic and entertaining session that will leave you inspired and ready to unleash your PM career's true potential!
From Product Vision to Story Map - Lean / Agile Product shapingJérôme Kehrli
A lot of Software Engineering projects fail for a lack of shared vision due to poor communication among people involved in the project.
A sound maintenance of the product backlog can only be achieved if all the people have a good understanding of what they have to do (common vision).
Roman Pichler, in a post originally written in Jul 16 2012, has proposed a really interesting approach: use various canvas to create and share product vision and product backlog creation and refinement.
This presentation is a drive through these various boards and canvas that should be designed in prior to any product development: the Product Vision, the Lean Canvas, The Product Definition and the Story Map.
"Together we break away from the traditional eCommerce monolith, while writing tomorrow’s leading software today."
This presentation is about building the first Headless Magento shop: therake.com. This shop is build with Wordpress and Magento 2 at the base, combined with a nodeJS server and a ReactJS front-end. We include what is Headless? Why would you do this? How did we do it? What is the result and finally why we think this is the future of e-commerce.
The presentation was one of the plenary keynote session on Meet Magento Poland, 18 - 19th of September 2017 in Krakow.
How to Master Product-Led Growth Strategy in B2B by Gainsight CTOProduct School
Main Takeaways:
- Gain visibility into the product journey
- Tie acquisition and retention KPIs with core metrics
- Design product experiences with an outcome mindset
- Create an iterative process to address usability friction
- Leverage user feedback to accelerate learning
The Product Visioning Workshop: A Proven Method for Product Planning and Prio...Perfetti Media
Is your team looking for new product concepts to capture a new market? Do you need to establish a long-term product strategy? Are you working to set a direction to drive roadmap decisions?
In this presentation, we will share a proven approach for creating a long-term product vision that your team can understand and rally behind. We will share all of the techniques you'll need to successfully run a Product Visioning Workshop with your product team and business stakeholders.
You will learn how to create a long-term vision for your product, establish consensus and buy-in across your organization, and prioritize features for the product roadmap. Your product managers will come away equipped to create roadmaps that align with your long-term product strategy.
How to Master Product-Led Growth Strategy in B2B by Gainsight CTOProduct School
Main takeaways:
Main Takeaways:
- Gain visibility into the product journey
- Tie acquisition and retention KPIs with core metrics
- Design product experiences with an outcome mindset
- Create an iterative process to address usability friction
- Leverage user feedback to accelerate learning
Training more about Document Library, OneDrive, Sharepoint Designer, Webpart and how to Deploy custom Webpart solution into Sharepoint 2019 On Premiese
In this presentation you will find information about importance of Key Performance Indicators (KPI's) for subscription-based (SaaS) Internet startups.
The full list of metrics mentioned in the presentation, exact formulas, and examles you can find at http://datmachine.co/saas_metrics.
If you have any questions, don't be shy to drop me a line on my email: efremov(at)datmachine.co.
SharePoint has been on the market from 2001, and since then, matured into a very stable and popular business collaboration platform. The beauty of SharePoint is that it is relatively easy to customize and it provides an experience already familiar to users via Office suite. Most frequent use of the platform by corporations has been in the areas of web content management, information sharing and document management.
However, adoption of SharePoint as a true Project Management Information System (PMIS) has been slow. Out-of-the-box SharePoint is unappealing, customization takes time and acceptance at PMO level is often very bureaucratic.
In this presentation I will demonstrate how you can customize SharePoint to help you with your next project. You will walk away learning tips and tricks that you can implement literally in hours. Among other things, you will learn how SharePoint can help you facilitate project team collaboration, integrate existing methodologies and empower your project team.
The product roadmap is a plan of action that outlines of tactical steps to execute the product strategy pushing the product ahead in the trajectory of planned direction in alignment with the product vision while accomplishing short-term and long-term product objectives
Don't Suck at SharePoint - Avoid the common mistakesBenjamin Niaulin
Recording: http://bit.ly/SeyVK8
How do you avoid the most common mistakes when using SharePoint, if you've never used it before?
What makes SharePoint so popular is also its worse enemy, it's easy to use. As a platform, it allows you to build whatever you want to help the organization. But for it to be successful, you need to avoid the common mistakes made.
As a consultant, I have unfortunately had a lot of experience seeing or even doing some of the things in SharePoint that lead to utter chaos or disaster. That's why I would like to share them with you this time, show you how to not suck at SharePoint.
In this webinar we'll discuss:
-A brief overview of SharePoint as a platform
-Common scenarios SharePoint is used for
-Things that have miserably failed
-Bad architecture
-Solutions and Best Practices when starting
Platforms for the Future of Work, Roger Dickey, GigsterLean Startup Co.
Automation, innovative management practices, and real-time communication tools are creating new models for skilled work. Every professional relies on software to structure and assist their work, and as that software becomes more intelligent it will gradually play a larger role in day-to-day tasks. Eventually, AI-powered platforms will facilitate complex work (from taxes to lawsuits) as easily as Uber calls a cab. Roger Dickey, the founder and CEO of freelance developer platform Gigster, will discuss how marketplaces and intelligent software can combine to improve and accelerate professional work, while making it more fulfilling, more profitable, and more accessible.
Bodin - Hullin & Potencier - Magento Performance Profiling and Best PracticesMeet Magento Italy
Performance is critical to eCommerce businesses, having a direct impact on cart abandonment rate. There’s countless statistics about this. What is missing is the right tools and the best practices. Before even setting up Content Delivery Networks or aiming for low hanging fruits such as images compression, the first thing to look at is the PHP code.
Fabien Potencier and Jacques Bodin-Hullin presented some do’s and don’ts in PHP code performance on Magento 2, what profiling is, and how profiling in development, test, staging and production makes it possible to proactively improve performance. They also unveiled testing strategies which make it possible to automate validation of code iterations with continuous integration and continuous deployment strategies.
This talk is about why I believe having the ability to write tools and/or scripts can help elevate a Pen Testers game to the next level.
The talk is case study driven by the different scenarios I've encountered on assessments and the scripts or tools that have been developed as a result.
This presentation was given to a group of SFS students at GW. It's designed to be semi-case study driven on the problems I've encountered on assessments and how programming can help solve them.
Website & Internet + Performance testingRoman Ananev
The presentation about how the site works on the Internet and what happens when you open it in your browser. What happens under the hood of the server and browser.
How to measure the performance of the CS-Cart project simply and without technical knowledge :) And of course, why all the online-performance-testing services lie, or dont provides a clear view ;)
https://www.simtechdev.com/cloud-hosting
---
Cloud hosting for CS-Cart, Multi-Vendor, WordPress, and Magento
by Simtech Development - AWS and CS-Cart certified hosting provider
free installation & migration | free 24/7 server monitoring | free daily backups | free SSL | and more...
Scraping the web with Laravel, Dusk, Docker, and PHPPaul Redmond
Jumpstart your web scraping automation in the cloud with Laravel Dusk, Docker, and friends. We will discuss the types of web scraping tools, the best tools for the job, and how to deal with running selenium in Docker.
Code examples @ https://github.com/paulredmond/scraping-with-laravel-dusk
Fluent 2018: Tracking Performance of the Web with HTTP ArchivePaul Calvano
Have you ever thought about how your site’s performance compares to the web as a whole? Or maybe you’re curious how popular a particular web feature is. How much is too much JavaScript? The HTTP Archive has been keeping track of how the web is built since 2010. It enables you to find answers to questions about the state of the web past and present.
Paul Calvano explores how the HTTP Archive works, how people are using this dataset, and some ways that Akamai has leveraged data within the HTTP Archive to help its customers.
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Pantheon
Greg Anderson's slide deck from BADCamp 2016.
Having a fine-tuned continuous integration environment is extremely valuable, even for small projects. Today, there is a wide variety of standalone projects and online Software-As-A-Service offerings that can super-streamline your everyday development tasks that can help you get your projects up and running like a pro. In this session, we'll look at how you can get the most out of:
- GitHub source code repository
- Packagist package manager for Composer
- Travis CI continuous integration service
- Coveralls code coverage service
- Scrutinizer static analysis service
- Box2 phar builder
- PhpDocumentor api documentation generator
- ReadTheDocs online documentation reader service
- Composer scripts and projects for running local tests and builds
Ao contrário do que todo mundo pensa, o Doctrine não é somente um Mapeador de objeto relacional. É um projeto focado em desenvolver soluções para persistência de dados e tecnologias relacionadas. Nessa palestra você verá o uso de várias ferramentas que fazem o uso de pacotes do projeto que serão úteis no seu ambiente desenvolvimento desde a implementação ao deploy.
Many companies are looking for "DevOps'' in many forms, but what kind of skills or experiences are actually needed? I’ll debunk some of the myths surrounding what recruiters or internet lurkers might tell you and find out if you might actually have an aptitude for Site Reliability or Infrastructure Engineering. If so, what might be good knowledge areas to get started with? And if learning leads to an interview, what might that look like?
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
5. blackfire.io @blackfireio # blackfireio
Understanding the overhead
● Instrumentation
● Tools ready for production vs tools made for
development only
● Instrumenting all requests vs specific requests
6. blackfire.io @blackfireio # blackfireio
Profiling is about measuring how much
resources your code is consuming
Wall time I/O CPU
Memory Network SQLHTTP Time
https://blackfire.io/docs/24-days/07-time-flavors
7. blackfire.io @blackfireio # blackfireio
Time is volatile
● Time is not a stable metric. External factors such as machine load can
have significant impacts on wall time between two profiles of identical
code.
● Time is just a consequence of what happened in the code
● Use time to identify the slow parts in your code and then:
○ iterate and compare
○ write assertions on the root cause
● Profiling is about understanding how code works at runtime
https://blackfire.io/docs/24-days/12-tests-best-pratices
8. blackfire.io @blackfireio # blackfireio
Callgraphs, timelines and more
● Find the function calls that
consume the most resources
● Know where to stop optimizing
● Trade-off time vs memory and
performance vs code complexity
● Profiling should not always be a
lonely activity
15. blackfire.io @blackfireio # blackfireio
The main issues
● SQL Queries
● Network
● CPU Time
● Memory
● I/O Wait
● External HTTP requests
● PHP & Bad PHP code
16. blackfire.io @blackfireio # blackfireio
SQL Queries
● Use indexes and correct types.
● Limit the number of results you need.
● Avoid SQL requests…
● If you can’t avoid them, cache the output or
use LocalStorage/CacheStorage if insensitive information.
● Use Magento Repositories.
SQL Requests are the main issue.
18. blackfire.io @blackfireio # blackfireio
CPU Time
● Avoid consuming operations: loops, events…
● Use Magento Repositories.
● KISS : Keep It Simple Stupid.
19. blackfire.io @blackfireio # blackfireio
Memory
● Use the MagentoFrameworkModelResourceModelIterator for your
loops.
● Use PHP! Avoid creating so many objects when you can do the
operation with one function call.
● Use the Magento Dependency Injection.
● Use Magento Repositories.
20. blackfire.io @blackfireio # blackfireio
I/O Wait
● Use php://memory and php://temp. Because Memory is always faster
than I/O.
● Optimize composer: composer dump-autoload --optimize --no-dev
21. blackfire.io @blackfireio # blackfireio
External HTTP Requests
● Don’t do that.
● If you really have to: use RabbitMQ.
● And if you really have no choice: use asynchronous?
● And if you really really have no choice: use a small timeout and deal with
the errors properly.
23. blackfire.io @blackfireio # blackfireio
PHP & Bad PHP code
● Upgrade to the latest version of PHP.
● Prefer a PHP core function to a lot of objects and methods.
●
25. blackfire.io @blackfireio # blackfireio
The metrics
● Is Magento 2 installed? CE or EE?
● Is the cache enabled?
● Cache manipulation.
● Product loads.
● Interceptors measurement.
● Mode detector: production/developer/default.
● …
26. blackfire.io @blackfireio # blackfireio
The metrics
magento2.all.cache.full_page.builtin.hit:
label: "Hit full page cache using builtin"
matching_calls:
php:
- callee: "=Magento[…]BuiltinPlugin::addDebugHeader"
caller: "=Magento[…]BuiltinPlugin::aroundDispatch"
27. blackfire.io @blackfireio # blackfireio
The metrics
mymetrics.image.operation:
matching_calls:
php:
- callee: "/.*image.*/"
Will match imagecreate, getimagesize etc.
28. blackfire.io @blackfireio # blackfireio
The recommendations
'The Magento 2 Full Page Cache should be enabled':
assertions:
- 'metrics.magento2.[…]full_page.builtin.hit.count == 1'
exclude:
- '.*/checkout.*'
- '.*/customer/section/load'
- '.*/catalogsearch'
[…]
29. blackfire.io @blackfireio # blackfireio
The recommendations
'Do not make any image operation':
assertions:
- 'metrics.mymetrics.image.operation.count == 0'
30. blackfire.io @blackfireio # blackfireio
Put some limits: .blackfire.yml
tests:
Pages should be fast enough:
path: /.*
assertions:
- main.wall_time < 850ms
- main.io < 500ms
- main.cpu_time < 500ms
Pages should not consume too much memory:
path: /.*
assertions:
- main.memory < 50M
- main.peak_memory < 75M
Homepage should not do too many SQL queries:
path: /
assertions:
- metrics.sql.queries.count <= 12
Checkout pages should be light:
path: /checkout/.*
assertions:
- metrics.output.network_out < 100KB