Revision history [back]

click to hide/show revision 1
initial version

answered 2019-05-09 12:07:17 +0800

hawk gravatar image hawk

http://hawkphoenix.blogsp... ZK Team

I try to create 600 menuitems in a menupop, it takes a bit longer (12s) to load that pages. My example is based on An example of dynamic menu bar in http://books.zkoss.org/zk-mvvm-book/8.0/databinding/childrenbinding.html image description

According to developer tool, the page loading time is bit longer but menu popup shows in a blink. image description

So which action takes 10 min? loading a page or pop up a menu? If loading pages takes long, I suggest you do a server profiling to know which method takes the most of time.

I try to create 600 menuitems in a menupop, it takes a bit longer (12s) to load that pages. My example is based on An example of dynamic menu bar in http://books.zkoss.org/zk-mvvm-book/8.0/databinding/childrenbinding.html image description

According to developer tool, the page loading time is bit longer but menu popup shows in a blink. image descriptionimage description

So which action takes 10 min? loading a page or pop up a menu? If loading pages takes long, I suggest you do a server profiling to know which method takes the most of time.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More