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

The building process seems to be very slow #9

Closed
astrolemonade opened this issue Jun 3, 2021 · 5 comments
Closed

The building process seems to be very slow #9

astrolemonade opened this issue Jun 3, 2021 · 5 comments

Comments

@astrolemonade
Copy link

Hello and thank you for making this!
For some reasons I cannot understand, the build process seems to be very slow. I am waiting for more than 5 minutes and still it didn't finish. I wonder if it is browser related;I am using Firefox un GNU/Linux 89 on a 64x machine.

@JohnStarich
Copy link
Collaborator

Hey @cata0309, thanks for opening!

Is this the default hello world program? The first compile and install is a bit slow (~1-2m), though subsequent compiles should be faster (~15s).

If you could post your Firefox version as well, that'd be great. I can try to spin up a similar setup for testing.

@JohnStarich
Copy link
Collaborator

I just discovered I had a failed deploy on the master branch, so it's possible c636f0c solved your delay issues. I've redeployed with the latest just now, let me know if that's changed anything!

@JohnStarich
Copy link
Collaborator

I've just deployed another version with some latency performance improvements.

Here's the times I'm seeing on macOS 11.4 (2.9 GHz base clock, 16GB RAM) Firefox 86.0.1. The higher-than-average base clock may make it unusually quick on my machine, so results may vary.

Looks like running from scratch (no caches), it takes 82.81s to run. A second run takes 5.23s.
image
image

I'll run on a Linux VM as well, probably Ubuntu, and report back.

@JohnStarich
Copy link
Collaborator

Running on Linux with Ubuntu 20.04.2 LTS (in a VM on the same mac, 2 cores only, 2GB RAM) Firefox 90.0

This one took a little longer from scratch at 122.08s, probably due to virtualization and reduced resources. A second run takes 8.04s.
image
image

@cata0309 Can you reproduce on the latest version?

@JohnStarich
Copy link
Collaborator

Since I haven't heard back, I'll go ahead and close. We're tracking proper parallelism here, which should significantly increase compile times if/when implemented: #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants