Hopefully you will find this thread useful as well - I started it as there are quite often discussions like this going on and I thought it would be useful to have everything in 1 place:
[Reference] Optimising Node-RED - General - Node-RED Forum
Please add to it with any new discoveries.