Title: Code performance
Last modified: May 3, 2025

---

# Code performance

 *  Resolved [Gyurmey](https://wordpress.org/support/users/gyurmey/)
 * (@gyurmey)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/code-performance/)
 * Hi, I noticed that all calendar data is embedded directly in the HTML (not dynamically
   fetched on the fly). What will happen if the scenario involves several hundred
   or more events?
 * ![](https://i0.wp.com/i.ibb.co/dwdn4vTQ/pie.png?ssl=1)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jonathan Jernigan](https://wordpress.org/support/users/apexws/)
 * (@apexws)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/code-performance/#post-18454490)
 * Hi there, the calendar events are generated via JavaScript at runtime so it’s
   mostly independent of the WordPress database for a large part of the query, helping
   boost performance.
 * Additionally, the code is set to only show events shortly before and shortly 
   after the current view of the calendar, so if you have tons of events, only a
   portion of them are actually loaded at any one time, helping boost performance
   even more.
 * Hope this helps!
 *  Thread Starter [Gyurmey](https://wordpress.org/support/users/gyurmey/)
 * (@gyurmey)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/code-performance/#post-18456027)
 * Thank you for the clarification. My main concern is the size of the HTML document
   itself, since, as we know, this also affects performance. What I mean is that
   I’m worried that with a few hundred or more events/posts, the HTML document could
   become unacceptably large.
 * By the way, I really appreciate your emphasis on accessibility. 🙏
 *  Thread Starter [Gyurmey](https://wordpress.org/support/users/gyurmey/)
 * (@gyurmey)
 * [11 months ago](https://wordpress.org/support/topic/code-performance/#post-18460247)
 * Could you please address my concerns in more detail? Can you guarantee, as much
   as possible, that this will not affect performance in the future? I am considering
   upgrading to the Pro version, but I need to be certain before making a decision.
 *  Plugin Author [Jonathan Jernigan](https://wordpress.org/support/users/apexws/)
 * (@apexws)
 * [11 months ago](https://wordpress.org/support/topic/code-performance/#post-18461786)
 * I can’t _guarantee_ there will zero problems with performance, but what I can
   say is that we’ve been very intentional from the beginning, and still are, about
   Pie Calendar being as performance and accessibility focused as possible.
 * None of our customers have reported performance problems that weren’t related
   to hosting, caching, or plugin conflict issues.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Code performance’ is closed to new replies.

 * ![](https://ps.w.org/pie-calendar/assets/icon-256x256.png?rev=3283614)
 * [Pie Calendar - Events Calendar Made Simple](https://wordpress.org/plugins/pie-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-calendar/reviews/)

## Tags

 * [performance](https://wordpress.org/support/topic-tag/performance/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jonathan Jernigan](https://wordpress.org/support/users/apexws/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/code-performance/#post-18461786)
 * Status: resolved