Home › Forums › CodeIgniter › Benchmarking
Tagged: benchmarking
- This topic has 0 replies, 1 voice, and was last updated 8 years, 10 months ago by Layer7web.
Viewing 0 reply threads
-
AuthorPosts
-
-
January 11, 2016 at 1:46 pm #2253
Layer7webKeymasterThis is useful:
PHP1234567$this->benchmark->mark('code_start');// Some code happens here$this->benchmark->mark('code_end');echo $this->benchmark->elapsed_time('code_start', 'code_end');Documentation here: https://www.codeigniter.com/userguide3/libraries/benchmark.html#using-the-benchmark-class
-
-
AuthorPosts
Viewing 0 reply threads
You must be logged in to reply to this topic.
Comments are closed.