Description
Hi!
I'm currently trying to optimize Symfony usage in https://github.com/php-pm/php-pm.
One of those optimizations is to get the correct debugging information in the profiler. Currently after each request only the execution time is correctly calculated. All other stuff like logs, template render times, query logging etc are not reseted after Kernel::terminate(). What we currently do is along these lines: https://github.com/php-pm/php-pm-httpkernel/blob/master/Bootstraps/Symfony.php#L71-L100
I know it's a hack and don't get any support through semver as we hack into the object, but for the moment the only fast way to get things working. If it's working we could provide a pull requests to get this inside Symfony with well defined interfaces.
Any ideas?
//Edit
We get for each new request a new Debug-Token, as expected.