This is the best solution, you can store your profiler data in Redis thanks to SncRedisBundle , they implemented profiler_storage .
They also added TTL, so your profiler data may expire automatically.
First configure the snc_redis client in config.yml
snc_redis:
clients:
default:
type: predis
alias: default
dsn: redis://localhost
Then add the profiler repository to config_dev.yml
snc_redis:
profiler_storage:
client: default
ttl: 86400
source
share