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

Performance degrades harshly as number of plots increases #246

Open
TheBizzle opened this issue Jun 16, 2015 · 2 comments
Open

Performance degrades harshly as number of plots increases #246

TheBizzle opened this issue Jun 16, 2015 · 2 comments

Comments

@TheBizzle
Copy link
Member

From @ToonTalk on June 5, 2015 17:8

This isn't my model and it is complex but wondering if there is anything that can be done about its very long setup time.

http://li425-91.members.linode.com:9000/create-standalone#http://751.m4a-gae-hrd.appspot.com/p/EzTuAKReYQK6eM5yucZ87c.nlogo

Copied from original issue: NetLogo/Tortoise#147

@TheBizzle
Copy link
Member Author

From @ToonTalk on June 5, 2015 17:34

I suspect it is the plots and/or plot pens.

@TheBizzle
Copy link
Member Author

Yes, I've noticed that performance quickly degrades as the number of plots increases. Profiling the page you linked verifies as much.

I'm not sure what can realistically be done about this, though. Just kicking around vague ideas here: Maybe web workers could one day be used to alleviate much of the stress that the UI thread feels from having to manage the model state and the plot element updates all at once.

@TheBizzle TheBizzle changed the title Setup takes 30 seconds - compared with less than 1 second in JVM version Performance degrades harshly as number of plots increases Jun 17, 2015
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