dataloader-php
dataloader-php copied to clipboard
Log activities to help profiling / debugging
trafficstars
As a Symfony developper, I want to develop a DataCollector to know more about our usage during development process.
A dedicated DataLoaderLogger with logged get and cached activities could be used to develop such a DataCollector.
- How many time keys have been fetched, with a ratio HIT / MISS.
- How many batches have been executed to fetch data
That look good to me, how can I help you to implement this?
I'm not an expert about the DataLoader internals / activities; So I can not implement the solution myself.
Maybe you could start with a simple implementation collecting only basic metrics?