Skip to content

Instantly share code, notes, and snippets.

@sriharsha1235
Created October 13, 2017 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sriharsha1235/4ea5fab8ce079101427a2845d04ba998 to your computer and use it in GitHub Desktop.
Save sriharsha1235/4ea5fab8ce079101427a2845d04ba998 to your computer and use it in GitHub Desktop.
Drupal 8 Performance
https://github.com/perftools/xhgui
https://github.com/tideways/php-profiler-extension
https://drupal.stackexchange.com/questions/118990/how-do-i-improve-the-performance-of-my-drupal7-site
Use XHGUI and tideways to have number of function calls
Webprofiler has timeline which has the flow of page request and time calculations.
To start debugging for performance start from the index.php before function call and after function call.
Because of that you can get the exact execution time.
You can get the response time in apache server also. There is a possibility the respsonse time would be less but to download the content it might take more time.
Do enable caching at techonolgy specific. Do at PHP level (APC), Mysql Level(Query caching), Memcache, Apache, JS, CSS, Sprite Images, Leverage requests, Check in google page speed.
Do code level caching like static functions. If it is same for entire request.
Drupal:
renderviz module
Contexts, tags, max-age do cache as much as you can in your custom codes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment