mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 23:07:32 -07:00
4bd7ae29f7
This PR should improve performance when opening large workflows that contain node issues (Fixes ADO-1521) **Background** Main reason for this poor performance is that our `getCurrentWorkflow()` store getter is unnecessarily heavy but on top of that we are calling it more than we need. This addresses the second part of the issue by changing the following: - Pausing node issue processing while workflows are loading - Only getting current workflow once (instead for every node) when calling `refreshNodeIssues` **Benchmark** This was tested on a workflow attached to [this Linear ticket](https://linear.app/n8n/issue/ADO-1501/deliveryhero-enterprise-instance-very-slow-loading-workflows) and this fix brings down opening time from **~1m10s** to **~28s** on my laptop. **Tests** - [Latest e2e tests run](https://github.com/n8n-io/n8n/actions/runs/7060874994) https://community.n8n.io/t/ui-very-slow-with-more-than-100-nodes/8236/14 |
||
---|---|---|
.. | ||
public | ||
src | ||
tests/e2e | ||
.browserslistrc | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
index.html | ||
index.js | ||
LICENSE.md | ||
LICENSE_EE.md | ||
package.json | ||
postcss.config.js | ||
README.md | ||
tsconfig.json | ||
vite.config.mts |
n8n-editor-ui
The UI to create and update n8n workflows
npm install n8n -g
Project setup
pnpm install
Compiles and hot-reloads for development
pnpm serve
Compiles and minifies for production
pnpm build
Run your tests
pnpm test
Lints and fixes files
pnpm lint
Run your end-to-end tests
pnpm test:e2e
Run your unit tests
pnpm test:unit
Customize configuration
License
n8n is fair-code distributed under the Sustainable Use License.
Proprietary licenses are available for enterprise customers. Get in touch
Additional information about the license can be found in the docs.