The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
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
Get a db with a lot of realistic data
Back up the db so you can re-run the test easily
Change a view (even a whitespace change) to trigger a complete rebuild
Measure the time, cpu usage, memory usage, disk usage until completion
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