My application uses AWS DynamoDB and I want to be able to track the time the Dynamo request takes, just like it would if I was using Doctrine or Propel.
Some controllers also access a bunch of custom services, ideally I'd be able to track the time each of them take as well.
Is there a way to add some hooks into my code before and after these blocks of code to track the time and add it into the profiler timeline?
i think you could use this new component "Stop watch"
http://symfony.com/blog/new-in-symfony-2-2-new-stopwatch-component
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With