Skip to content

Conversation

pikax
Copy link
Member

@pikax pikax commented Mar 20, 2019

Use Promises to get if the file isHidden and isDirectory, this improves the performance when doing project/select.

On windows was taking around 1~2seconds to fetch a directory (using SSD), with this I manage to get 300~600ms.

@pikax pikax changed the title perf(ui): improve get folder list to use only Promises perf(ui): improve get folder list to use Promises instead of sync Mar 21, 2019
@haoqunjiang haoqunjiang merged commit 10d5ae4 into vuejs:dev Sep 1, 2020
@pikax pikax deleted the improve-folders-perf branch September 1, 2020 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants