Galapagos icon indicating copy to clipboard operation
Galapagos copied to clipboard

Performance degrades harshly as number of plots increases

Open TheBizzle opened this issue 10 years ago • 2 comments

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 avatar Jun 16 '15 17:06 TheBizzle

From @ToonTalk on June 5, 2015 17:34

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

TheBizzle avatar Jun 16 '15 17:06 TheBizzle

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 avatar Jun 16 '15 17:06 TheBizzle