If I run the benchmarking script in host mode, it makes a crazy
result, like this:

value Timing (ms)
0 -0.27538666129112243
1 -0.24413666129112244
2 -0.24413713812828064
3 -0.24413594603538513
4 -0.2441340982913971
5 -0.24413272738456726
6 -0.24413132667541504
7 -0.24412941932678223
8 -0.2441275715827942
9 -0.2441229224205017
10 -0.2743954658508301
11 -0.24412202835083008
12 -0.22947168350219726
13 -0.24411463737487793
14 -0.2597414255142212
15 -0.24411261081695557
16 -0.2597320079803467
17 -0.2441108226776123
18 -0.24410319328308105
19 -0.24410343170166016
20 -0.24410712718963623
21 -0.24410343170166016
22 -0.24410319328308105
23 -0.24410343170166016
24 -0.24409961700439453
25 -0.24409961700439453
26 -0.274369478225708
27 -0.259721040725708
28 -0.24409222602844238
29 -0.24409222602844238
30 -0.24408864974975586
31 -0.24408841133117676
32 -0.25970959663391113
33 -0.2597060203552246
34 -0.24407720565795898
35 -0.24407744407653808
36 -0.24407720565795898
37 -0.25969839096069336
38 -0.25969862937927246
39 -0.2596907615661621
40 -0.24406981468200683
41 -0.2440657615661621
42 -0.2440662384033203
43 -0.2596907615661621
44 -0.2440662384033203
45 -0.24405860900878906
46 -0.24405860900878906
47 -0.24405860900878906
48 -0.24405145645141601
49 -0.2440509796142578
50 -0.24404382705688476
51 -0.2440509796142578
52 -0.24405145645141601
53 -0.24404382705688476
54 -0.24403667449951172
55 -0.24404382705688476
56 -0.24403667449951172
57 -0.24403619766235351
58 -0.2743096351623535
59 -0.24403619766235351
60 -0.24402904510498047
61 -0.24402904510498047
62 -0.24402856826782226
63 -0.24402856826782226
64 -0.24402856826782226
65 -0.25963878631591797
66 -0.2586550712585449
67 -0.2586550712585449
68 -0.24400663375854492
69 -0.22935056686401367
70 -0.24399185180664062
71 -0.24399900436401367
72 -0.24399185180664062
73 -0.2596168518066406
74 -0.24399185180664062
75 -0.24399185180664062
76 -0.24399185180664062
77 -0.24399185180664062
78 -0.24399185180664062
79 -0.24399185180664062
80 -0.24399185180664062
81 -0.24397659301757812
82 -0.2586250305175781
83 -0.22932815551757812
84 -0.24397659301757812
85 -0.24397659301757812
86 -0.24397659301757812
87 -0.2586097717285156
88 -0.25958728790283203
89 -0.27423572540283203
90 -0.24396228790283203
91 -0.24396133422851562
92 -0.24396228790283203
93 -0.24396228790283203
94 -0.24394702911376953
95 -0.24394607543945312
96 -0.25957202911376953
97 -0.24394702911376953
98 -0.24396228790283203
99 -0.25859546661376953
100 -0.25957202911376953

the test:

public class HelloBenchmark extends Benchmark {

        IntRange range=new IntRange(0,100,Operator.ADD,1);

  /**
   * Must refer to a valid module that sources this class.
   */
  public String getModuleName() {
    return "com.mycompany.Hello";
  }

  /**
   * Add as many tests as you like.
   */
  public void testSimple() {
    assertTrue(true);
  }


  public void testSimple(@RangeField("range")Integer value) {
          int res=1;
          for (int i=1;i<value;i++){
                  res*=i*i;
          }

  }

}

And it's working in web mode with -manual argument on Firefox (with a
little inaccuracy).
Why is it? This test is running 100sec.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to