Tag: profiling
-
Gathering database performance with WP-CLI
in WordPressDiscover how we employed WP-CLI to streamline the assessment of database server performance in WordPress, facilitating a more efficient profiling of SQL queries before and after crucial server upgrades.
-
Command Timing in ZSH
Dive into how you can enhance your ZSH experience by adding a snippet that measures the exact time it takes to process a command, right down to the millisecond! This guide provides a detailed walkthrough of the script, allowing you to integrate it with your .zshrc file.
-
Debugging WordPress Hooks: Speed
in WordPressLearn how to measure the execution time of WordPress hooks with precision by capturing individual callback durations. Find out how to set up a timeline for targeted hooks and track start and stop times for each. Be cautious of potential overhead and conflicts with plugins using hook priorities. Utilize the provided PHP code to implement…