I am rendering 100 events in FullCalendar using $('#CalendarPlugin').fullCalendar('renderEvent', {} );
being called 100 times in a loop.
The browser performance I'm seeing on my computer (Core2 6600 @ 2.4GHz with 4GB RAM)
Is this an expected level of performance? Is there a faster way to load and render events?
Once they've been added to FullCalendar, moving between months and re-rendering it much faster. It's just the initial loading of them using renderEvent
that's slow.
The developer was working on performance enhancements for the 1.4.4 version, but hitting the plugin 100 times in a loop is still hefty.
One technique you could try to improve performance is to use an object in addEventSource
as this waits and renders altogether I believe:
$("#calendar").fullCalendar("addEventSource", msg.items);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With