Search code examples
node-red

Merge / Diff on the Node-RED flow is very slow


We are working on various ChatBot project using Node-Red to design conversation. But "team work" on v0.19 is really painfull when making diff on the flow.

In a nutshell it takes about 2 minutes to make the diff !

  • The file has 32000 lines
  • For about 2595 nodes (with 679 nodes function)
  • Everything is split in various tabs or subflow (30-40)
  • There is almost 60-80 nodes / tabs it's readable for Node-RED it's not an "over-usage"

Any ideas to speed up the GIT Diff ? Thanks !


Solution

  • The only realistic answer you are going to get here is use a smaller flow.

    It will probably be worth bringing this up on the discourse forum or slack where Nick might be able to look at the code and see if it can be improved. But looking at the code it looks like it's just calling git diff under the covers.