d4rkr00t / prosemirror-dev-tools

Developer Tools for ProseMirror
317 stars 37 forks source link

perf: move json diffing to worker where possible #101

Closed marionebl closed 4 years ago

marionebl commented 4 years ago

I noticed large documents pile up a lot of CPU-bound diffing work. This moves the json diffing to a web worker where possible.

Not sure if we should make worker-plugin a peerDependency