Benchmark mark - converting from CI3 to CI4 |
Hello,
I'm converting a large project from CI3 to CI4. I have the following lines that needs to be converted: Code: $this->benchmark->mark('getProjectMethods_start'); I don't see an equivalent function to 'mark' in the CI4 documentation on benchmarking https://codeigniter4.github.io/CodeIgnit...hmark.html How would I do this in CI4? Do I just use start and end with the same name, something like: Code: $benchmark = service('timer'); |
Messages In This Thread |
Benchmark mark - converting from CI3 to CI4 - by xanabobana - 10-01-2024, 12:07 PM
RE: Benchmark mark - converting from CI3 to CI4 - by InsiteFX - 10-01-2024, 09:31 PM
RE: Benchmark mark - converting from CI3 to CI4 - by kenjis - 10-03-2024, 12:11 AM
|