I've been looking at the depsgraph changes in the documentation here, but I don't know if I understood it right: the dependency graph is a sort of diagram that links data blocks to each other so that blender updates only the necessary items, and not all the entire project, right?
So when is the bpy.app.handlers.depsgraph_update
handler updated?
When changing any value in the project (so on any user input that changes a data-block), while rendering, when saving the project, when playing an animation...?