Skip to content

Instantly share code, notes, and snippets.


Sriharsha sriharsha1235

View GitHub Profile
View gist:3cb339f431bd0e0f22719876b3421b4f
View gist:0955d7025bf492c31584980798f03438
View gist:81afc5170069ce538cd2647219dfa0a1
View gist:4ea5fab8ce079101427a2845d04ba998
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.
Doxygen Installation
Install doxygen in ubuntu (
Generate the sample conf file doxygen -g sample_text.conf
View Flood in custom coding
return $this->flood->isAllowed('mobile_number_verification', $this::VERIFY_ATTEMPTS_COUNT, $this::VERIFY_ATTEMPTS_INTERVAL, $this->getCallableNumber($mobile_number));
sriharsha1235 / Drupal 8 Dynamic Menu Title
Last active Nov 17, 2016
Dynamic Routing Menu Title
View Drupal 8 Dynamic Menu Title