Changeset 51551 for trunk/tests/phpunit/includes/wp-profiler.php
- Timestamp:
- 08/05/2021 01:10:05 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/wp-profiler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/wp-profiler.php
r47122 r51551 8 8 * start() and stop() must be called in pairs, for example: 9 9 * 10 * function something_to_profile() {11 * wppf_start(__FUNCTION__);12 * do_stuff();13 * wppf_stop();14 * }10 * function something_to_profile() { 11 * wppf_start( __FUNCTION__ ); 12 * do_stuff(); 13 * wppf_stop(); 14 * } 15 15 * 16 16 * Multiple profile blocks are permitted, and they may be nested.
Note:
See TracChangeset
for help on using the changeset viewer.