1

The Problem of zk-6.5.3

asked 2014-01-08 04:53:48 +0800

lijun gravatar image lijun
21 2

updated 2014-01-09 01:49:48 +0800

I write a page and find the problem of zk-6.5.3

zk-6.5.2 cost 247ms.

zk-6.5.3 cost 2487ms.

zk-6.5.4 cost 244ms.

zk-6.5.5 cost 245ms.

why zk-6.5.3 cost so much time ?

In the end, I locate the problem is zk.jar .

<zk>
<listbox mold="paging" pagesize="15" height="300px" width="200px">

    <attribute name="onCreate">
    long start = System.currentTimeMillis();
    List infos = new ArrayList();
    for(int i=0;i<10000;i++){
        infos.add("Cell"+i);
    }
    self.setModel(new ListModelList(infos));
    long end = System.currentTimeMillis();
    System.out.println("Refresh time:" + (end - start));

    </attribute>    
</listbox>

</zk>

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-01-08 04:53:48 +0800

Seen: 13 times

Last updated: Jan 09 '14

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