powerhouse-inc / connect

https://document-model-electron.vercel.app
3 stars 2 forks source link

perf: implemented scalable way to compare drive state #353

Closed acaldas closed 1 month ago

acaldas commented 1 month ago

In a drive with 100 files, JSON.stringify was taking 1 second in my computer. This was causing the UI to become unresponsive. To compare a drive, we join the hash of the last operation of each scope.

This comparison is done to avoid refreshing the UI if the drives haven't changed.

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 1.0.0-dev.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 1.0.0-next.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: