Performance journal: Record resource use of operations
Operating System: All
Description of the feature
After trying to invert the colors of my layer mask, GIMP stopped responding, while neither CPU nor disk load was significant (the operation finished after serveral minutes in the meantime). This brought an idea up: GIMP could (optionally) log into some journal:
- Every operation that is started (with a (relative?) time stamp)
- Every operation that completed (with a (relative?) time stamp), along with:
- Amount of CPU used (maybe in percont of one thread, i.e. 150% would be one and a half thread fully busy)
- Amount of memory used (maybe in percent of available memory, i.e.: 100% meaning "everything))
- amount of disk space used (maybe in percent of available memory, like above)
- ...whatever you estimate useful
So if such journal is updated while GIMP is performing some operation, the user could clearly see what the last operation being performed is, and if some operations finish slowly, the user could see the resource requirements of the operations, possible also being able to copy & paste those for some further problem report...
This tool would be valuable for developers, too (I guess). I don't know how hard it would be to implement, however.
Use cases
Monitor and understand what's going on while GIMP performs some long-lasting operation. Help reporting extraordinarily low operations (like the one described above).