Skip to content

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.

2 participants