-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to QuickJS for CouchDB JS engine #9575
Comments
Moved to 4.15.0 so as not to hold up the release. |
Moving it to 4.16 |
I used a database with 1 million records. For Results can be seen here: |
However, there is apparently a scanner plugin that will detect view incompatibilities between the two engines, described here: https://docs.couchdb.org/en/stable/config/quickjs.html#quickjs I enabled this plugin and I'm seeing a bunch of weird stuff in the logs:
There are lots of these errors. |
Describe the performance issue
View rebuilding is slow which is a big problem particularly when doing an update which changes a view requiring the whole index to be rebuilt.
Describe the improvement you'd like
CouchDB 3.4.x introduced a new JS engine called QuickJS which promises 4-5x speed improvement and 6x improvement in memory usage. It's off by default. Try turning it on and see if we can get similar gains.
Describe alternatives you've considered
To Reproduce
Measurements
Environment
Additional context
Blocked by #9303
The text was updated successfully, but these errors were encountered: