Prompt diagnostics output node for elapsed time plus sampled peak process RAM and device VRAM.
https://github.com/molbal/ComfyUI-molbals-stats
git clone https://github.com/molbal/ComfyUI-molbals-stats
comfy node install molbals-stats