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

add goroutine #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add goroutine #21

wants to merge 1 commit into from

Conversation

letusfly85
Copy link

added goroutine, please check it.

@benbjohnson
Copy link
Owner

Why is it parallelized? Are you having performance issues with it?

@letusfly85
Copy link
Author

I felt slow on Windows machine only yet...

However, it will have effect on Mac, Linux.
I want to use this for over 100 files for automatic generate files on Jenkins and so on.

@benbjohnson
Copy link
Owner

Do you have timing numbers for serial vs parallel on Windows? Also, I'm a little worried about leaving it unbounded. If you run that against a large set of templates on a relatively weaker box then it could OOM the process.

@letusfly85
Copy link
Author

No I don't have exactly, because I will try this on Linux jenkins machine.

If you have consideration, I will close this issue, or will give a flag to control concurrent option and so on.

Thank you.

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.

None yet

2 participants