There is nice thread where speed of Node-RED and many things around it have been discussed. You may find some answers from it.