I found an interesting article about the performance of qDebug:

https://www.programmersought.com/article/33385496323/

Would be interested in knowing opinions on the topic.