coobird / thumbnailator

Thumbnailator - a thumbnail generation library for Java
MIT License
5.08k stars 780 forks source link

Expose metrics for internal processes #194

Open coobird opened 2 years ago

coobird commented 2 years ago

Thumbnailator has several internal processes in a course of a single thumbnail operation: reading the image, resizing the image, applying filters and writing the image. Currently, there is no way to find out how much time is spent on each of these processes. Furthermore, there may be other metrics that would be interesting to keep track of, or obtain for debugging purposes.