While I do agree, one can be done almost instantly in your browser, one takes hours of rendering.
Libs like qrframe are great for automating QR code creation in a web app, the ControlNet stuff is great for if you just need to make one QR code for an event or want an animated QR code (stuff like this is usually several frames per minute if you’ve got a good GPU).
Even on a slower machine, it'll be minutes, not hours. A fast one with an optimized process can be seconds.