Skip to content
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

Speed up first bloop server load #443

Merged
merged 2 commits into from
Apr 16, 2018
Merged

Speed up first bloop server load #443

merged 2 commits into from
Apr 16, 2018

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Apr 16, 2018

The first time the server starts up is a little bit slow (2s for the bloop
project, 3s for the spark project) because Bloop needs to load up the analysis
file from disk. This process was sequential. This patch makes it parallel, and
also runs the whole load process in the io executor which is thread-unbounded.

@jvican jvican added performance ergonomics Any change that affects developer ergonomics and the easiness of use of bloop. nailgun labels Apr 16, 2018
@jvican
Copy link
Contributor Author

jvican commented Apr 16, 2018

The bloop build now takes "[D] Elapsed: 487.909977 ms", that's a 1.5s cut from the previous version.

@jvican jvican merged commit 24be78b into master Apr 16, 2018
@tgodzik tgodzik deleted the topic/load-io-executor branch September 7, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ergonomics Any change that affects developer ergonomics and the easiness of use of bloop. nailgun performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant