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

Use pool thread for calling bin/check-example.js. #2704

Merged
merged 1 commit into from
Sep 11, 2014

Conversation

gberaudo
Copy link
Member

Saves 50s out of 60s on my machine, that is 83%.
Fixes #2695

@marcjansen
Copy link
Member

This looks great at first sight. I'll give this a proper review soon. Thanks!

Saves 50s out of 60s on my machine, that is 83%.
Fixes openlayers#2695
@marcjansen
Copy link
Member

I can confirm this massively speeds up ./build.py check-examples & think this is a great addition.

Please remove the print('Holl')-line and add a little bit of documentation to the ThreadPool class.

It'd be extra nice if someone could test this enhancement on windows, but I guess it'll just work. It looks as if we do not have a CLA from you, @gberaudo, is that right?

I am plus one on merging this.

@gberaudo
Copy link
Member Author

I updated the PR with comments and a fix for handling exceptions correctly.
I am working at CamptoCamp, I guess they have signed the corporate CLA, right?

@marcjansen
Copy link
Member

Ahh... I didn't know that. Yes, CamptoCamp has a CCLA.

For the record: did you check whether this works on windows? I doubt that it'll be problematic, but ...

@gberaudo
Copy link
Member Author

No Windows here, however it is just standard python.

On Thu, Sep 11, 2014 at 12:44:01AM -0700, Marc Jansen wrote:

Ahh... I didn't know that. Yes, CamptoCamp has a CCLA.

For the record: did you check whether this works on windows? I doubt that it'll be problematic, but ...


Reply to this email directly or view it on GitHub:
#2704 (comment)

Guillaume Beraudo
Camptocamp Engineer

@marcjansen
Copy link
Member

Thanks for this @gberaudo.

marcjansen added a commit that referenced this pull request Sep 11, 2014
Use pool thread for calling bin/check-example.js.
@marcjansen marcjansen merged commit dfa6a7c into openlayers:master Sep 11, 2014
@elemoine
Copy link
Member

Thanks @gberaudo. Nice addition.

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

Successfully merging this pull request may close these issues.

Speeding up check-examples
3 participants