dataloader-php icon indicating copy to clipboard operation
dataloader-php copied to clipboard

Log activities to help profiling / debugging

Open armetiz opened this issue 6 years ago • 2 comments
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

armetiz avatar May 23 '19 14:05 armetiz

That look good to me, how can I help you to implement this?

mcg-web avatar May 23 '19 14:05 mcg-web

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?

armetiz avatar May 24 '19 06:05 armetiz