buttercup / buttercup-core

:tophat: The mighty NodeJS password vault
http://buttercup.pw/
MIT License
467 stars 57 forks source link

Search very slow #293

Closed perry-mitchell closed 3 years ago

perry-mitchell commented 3 years ago

The search instance is slow to prepare and operate on other platforms.

perry-mitchell commented 3 years ago

Search was slow due to preparation process - the entire procedure was taking maybe 750ms in testing, with ~700ms spent on facade generation. Removing this in favour of just fetching the Entry instances proved to speed up the procedure about 10x.