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

46% of initial terrain generation time spent in -[GSLightingBuffer saveToFile:] #83

Open
foxostro opened this issue Jan 6, 2013 · 0 comments

Comments

@foxostro
Copy link
Owner

foxostro commented Jan 6, 2013

Initial terrain generation is spending 46% of the total (non-idle) time -[GSLightingBuffer saveToFile:]. This is probably responsible for a recent increase in the number of threads used by GCD too. That is, the number of threads is blowing up because a queue gets blocked on I/O.

Dispatch I/O is the best solution for this sort of problem.

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

No branches or pull requests

1 participant