When query time is larger than one second 'array_sum' cannot convert it
to float right. Also, it is better to fire 'laravel.query' event with
raw time as an argument rather than its string representation
Track the running time of a function
Profiler::time(function(){});
Profiler::time(function(){}, 'name');
Track a stopwatch style timer throughout your app
Profiler::tick('name');
Profiler::tick('name', function($timer){});