But I will not argument that C++ is much better in performance! It just a pain in the ass to get the application installed, and I think much of our users won't even survive the installation procedures and the errors during compilation phase ... Therefore it would be nice to have something in Node-RED that can be installed automatically as a dependency.
In the faq there is a section about performance:
In our experience, for inference, TensorFlow.js with WebGL is 1.5-2x slower than TensorFlow Python with AVX. For training, we have seen small models train faster in the browser and large models train up to 10-15x slower in the browser, compared to TensorFlow Python with AVX.