Re: Why was benchmarking removed in GWT 2.6?

2021-12-02 Thread Thomas Broyer
>From the commit 
history: 
https://github.com/gwtproject/gwt/commit/39eb6001a037fd8b6580a73a2540e6e9c04e54c2

“This didn't get enough adaption externally or internally.
The way it's implemented requires special support from GWTTestCase
infrastructure. Also, we are not going have an environment
to automate benchmarks written on this any time soon.

If there is enough demand later, parts of this code can be
resurrected to build a new benchmark system.”

On Thursday, December 2, 2021 at 3:25:21 AM UTC+1 Alex Epshteyn wrote:

> This seemed like a very useful feature back in the day, and I'm really 
> curious to know the reasoning behind its removal in release 2.6.0 (RC1) 
> .
>
> Does anyone remember?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/779e2c09-9109-483f-afda-54f2115edcc6n%40googlegroups.com.


Why was benchmarking removed in GWT 2.6?

2021-12-01 Thread Alex Epshteyn
This seemed like a very useful feature back in the day, and I'm really 
curious to know the reasoning behind its removal in release 2.6.0 (RC1) 
.

Does anyone remember?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/1fb9859a-4906-464b-97af-acb5782ab553n%40googlegroups.com.


[gwt-contrib] Improvements to GWT benchmarking. Report now provides averaged results and error statistics to i... (issue548801)

2010-05-21 Thread rchandia

Reviewers: tobyr,

Description:
Improvements to GWT benchmarking. Report now provides averaged results
and error statistics to identify and combat mesurement noise.


Please review this at http://gwt-code-reviews.appspot.com/548801/show

Affected files:
  M /tools/api-checker/config/gwt20_21userApi.conf
  M /user/src/com/google/gwt/benchmarks/BenchmarkReport.java
  M /user/src/com/google/gwt/benchmarks/BenchmarkShell.java
  M /user/src/com/google/gwt/benchmarks/client/Benchmark.java
  M /user/src/com/google/gwt/benchmarks/client/IterationTimeLimit.java
  A /user/src/com/google/gwt/benchmarks/client/impl/BenchmarkCommon.java
  A /user/src/com/google/gwt/benchmarks/client/impl/Experiment.java
  M /user/src/com/google/gwt/benchmarks/client/impl/PermutationIterator.java
  M /user/src/com/google/gwt/benchmarks/client/impl/Trial.java
  M /user/src/com/google/gwt/benchmarks/rebind/BenchmarkGenerator.java
  M  
/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java

  M /user/test/com/google/gwt/junit/client/BenchmarkTest.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r8074 committed - Disabled stack trace emulation from benchmarking unit tests...

2010-05-10 Thread codesite-noreply

Revision: 8074
Author: rchan...@google.com
Date: Mon May 10 09:44:32 2010
Log: Disabled stack trace emulation from benchmarking unit tests

Review at http://gwt-code-reviews.appspot.com/492802

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8074

Modified:
 /branches/2.1/user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml
 /branches/2.1/user/src/com/google/gwt/junit/JUnit.gwt.xml

===
--- /branches/2.1/user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml	Thu  
Feb 28 00:19:47 2008
+++ /branches/2.1/user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml	Mon  
May 10 09:44:32 2010

@@ -23,6 +23,11 @@

   source path=client/

+
+  !-- We do not want stack traces. --
+  set-configuration-property  
name=compiler.emulatedStack.recordFileNames value=false /

+  set-property name=compiler.emulatedStack value=false /
+
   generate-with  
class=com.google.gwt.benchmarks.rebind.BenchmarkGenerator
 when-type-assignable  
class=com.google.gwt.benchmarks.client.Benchmark/

   /generate-with
===
--- /branches/2.1/user/src/com/google/gwt/junit/JUnit.gwt.xml	Fri Apr 23  
06:39:33 2010
+++ /branches/2.1/user/src/com/google/gwt/junit/JUnit.gwt.xml	Mon May 10  
09:44:32 2010

@@ -38,9 +38,7 @@
   !-- Override the regular symbolMaps linker to put the data somewhere we  
can find it --
   define-linker name=symbolMaps  
class=com.google.gwt.junit.linker.JUnitSymbolMapsLinker /


-  servlet path='/junithost/*'  
class='com.google.gwt.junit.server.JUnitHostImpl'/

-
-  inherits name=com.google.gwt.benchmarks.Benchmarks/
+  servlet path='/junithost'  
class='com.google.gwt.junit.server.JUnitHostImpl'/


   !-- Speed up test compilations by producing one permutation --
   collapse-all-properties /

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Disabled stack trace emulation from benchmarking unit tests (issue492802)

2010-05-07 Thread rchandia

Reviewers: jlabanca,

Description:
Disabled stack trace emulation from benchmarking unit tests

Review by: jlaba...@google.com

Please review this at http://gwt-code-reviews.appspot.com/492802/show

Affected files:
  M /user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml
  M /user/src/com/google/gwt/junit/JUnit.gwt.xml


Index: /user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml
===
--- /user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml  (revision 7614)
+++ /user/src/com/google/gwt/benchmarks/Benchmarks.gwt.xml  (working copy)
@@ -23,6 +23,11 @@

   source path=client/

+
+  !-- We do not want stack traces. --
+  set-configuration-property  
name=compiler.emulatedStack.recordFileNames value=false /

+  set-property name=compiler.emulatedStack value=false /
+
   generate-with  
class=com.google.gwt.benchmarks.rebind.BenchmarkGenerator
 when-type-assignable  
class=com.google.gwt.benchmarks.client.Benchmark/

   /generate-with
Index: /user/src/com/google/gwt/junit/JUnit.gwt.xml
===
--- /user/src/com/google/gwt/junit/JUnit.gwt.xml(revision 7614)
+++ /user/src/com/google/gwt/junit/JUnit.gwt.xml(working copy)
@@ -40,8 +40,6 @@

   servlet path='/junithost'  
class='com.google.gwt.junit.server.JUnitHostImpl'/


-  inherits name=com.google.gwt.benchmarks.Benchmarks/
-
   !-- Speed up test compilations by producing one permutation --
   collapse-all-properties /
 /module


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Disabled stack trace emulation from benchmarking unit tests (issue492802)

2010-05-07 Thread jlabanca

LGTM

http://gwt-code-reviews.appspot.com/492802/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: Benchmarking

2009-01-06 Thread szebeni

Please

On jan. 5, 21:00, szebeni kha...@gmail.com wrote:
 Hi all!
  This topic in the GWT's documentation is very short.

 I have tried the Benchmarking example with the console's scripts, but
 it works sometimes, and sometimes it doesn't. Otherwise with the
 simple GWTTestcase I don't have any problem.

 I have a question:
 After the benchmarking, in the xml report, there is a user agent(on my
 pc it is IE7), how can I run the tests with other browsers?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Benchmarking

2009-01-06 Thread szebeni

I've resolved that, I've just added the -manual to the gwt.args.


On jan. 6, 10:57, szebeni kha...@gmail.com wrote:
 Please

 On jan. 5, 21:00, szebeni kha...@gmail.com wrote:

  Hi all!
   This topic in the GWT's documentation is very short.

  I have tried the Benchmarking example with the console's scripts, but
  it works sometimes, and sometimes it doesn't. Otherwise with the
  simple GWTTestcase I don't have any problem.

  I have a question:
  After the benchmarking, in the xml report, there is a user agent(on my
  pc it is IE7), how can I run the tests with other browsers?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Benchmarking

2009-01-06 Thread szebeni

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;ivalue;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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Benchmarking

2009-01-06 Thread szebeni

Come on guys

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



Benchmarking

2009-01-05 Thread szebeni

Hi all!
 This topic in the GWT's documentation is very short.

I have tried the Benchmarking example with the console's scripts, but
it works sometimes, and sometimes it doesn't. Otherwise with the
simple GWTTestcase I don't have any problem.

I have a question:
After the benchmarking, in the xml report, there is a user agent(on my
pc it is IE7), how can I run the tests with other browsers?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Gwt benchmarking

2008-10-29 Thread umka.me

Sorry, for my bad English.

How i can t odsiable timeout  10sec in benchmark tests?


exception
com.google.gwt.junit.client.TimeoutException: A timeout expired after
1ms elapsed.
/exception

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---