I'd like you to do a code review.  To review this change, run

  gvn review --project https://google-caja.googlecode.com/svn/trunk 
jasvir/[EMAIL PROTECTED]

Alternatively, to review the latest snapshot of this change
branch, run

  gvn --project https://google-caja.googlecode.com/svn/trunk review 
jasvir/v8-runner

to review the following change:

*jasvir/[EMAIL PROTECTED] | jasvir | 2008-10-27 13:22:01 -0800 (Mon, 27 Oct 
2008)

Description:

Adds generating and storing performance data on the dashboard.
Temporarily removes two benchmark tests till the errors they exhibit are 
corrected.




Affected Paths:
   M //trunk/tests/com/google/caja/demos/benchmarks/BenchmarkRunner.java
   M //trunk/tools/dashboard/dashboard.pl


This is a semiautomated message from "gvn mail".  See
<http://code.google.com/p/gvn/> to learn more.

Index: tests/com/google/caja/demos/benchmarks/BenchmarkRunner.java
===================================================================
--- tests/com/google/caja/demos/benchmarks/BenchmarkRunner.java 
(^/trunk/tests/com/google/caja/demos/benchmarks/[EMAIL PROTECTED])
+++ tests/com/google/caja/demos/benchmarks/BenchmarkRunner.java 
(^/changes/jasvir/v8-runner/trunk/tests/com/google/caja/demos/benchmarks/[EMAIL 
PROTECTED])
@@ -27,10 +27,12 @@ public class BenchmarkRunner extends CajaTestCase
   public void testRichards() throws Exception { runBenchmark("richards.js"); }
   public void testDeltaBlue() throws Exception { runBenchmark("deltablue.js"); 
}
   public void testCrypto() throws Exception { runBenchmark("crypto.js"); }
-  public void testRayTrace() throws Exception { runBenchmark("raytrace.js"); }
-  public void testEarleyBoyer() throws Exception {
-    runBenchmark("earley-boyer.js");
-  }
+  
+  // TODO(jasvir): These currently cause cajoling errors
+  //  public void testRayTrace() throws Exception { 
runBenchmark("raytrace.js"); }
+  //  public void testEarleyBoyer() throws Exception {
+  //    runBenchmark("earley-boyer.js");
+  //  }
 
   /**
    * Runs the given benchmark
Index: tools/dashboard/dashboard.pl
===================================================================
--- tools/dashboard/dashboard.pl        (^/trunk/tools/dashboard/[EMAIL 
PROTECTED])
+++ tools/dashboard/dashboard.pl        
(^/changes/jasvir/v8-runner/trunk/tools/dashboard/[EMAIL PROTECTED])
@@ -143,6 +143,9 @@ sub collectCodeStats() {
   print STDERR "copying coverage reports\n";
   extractCoverageSummary("$REPORTS_DIR/coverage/index.html", [EMAIL 
PROTECTED]);
 
+  print STDERR "running benchmarks\n";
+  track(\&build, ['benchmarks'], 'tests', [EMAIL PROTECTED]);
+
   print STDERR "running tests\n";
   track(\&build, ['runtests'], 'tests', [EMAIL PROTECTED]);
   extractTestSummary("$REPORTS_DIR/tests/TESTS-TestSuites.xml", [EMAIL 
PROTECTED]);
@@ -194,7 +197,7 @@ sub track($$$$) {
        qq'<varz name="target.$name.time" value="$dt"/>');
 
   # Extract profiling data.
-  my @varz = $log =~ m/\bVarZ:([\w\.\-]+)=(\d+)\b/g;
+  my @varz = $log =~ m/\bVarZ:([\w\.\-]+)=(\d+(?:\.\d+)?)\b/g;
   for (my $i = 0; $i <= $#varz; $i += 2) {
     push(@{$status_log_ref}, qq'<varz name="$varz[$i]" value="$varz[$i+1]"/>');
   }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to 
http://groups.google.com/group/google-caja-discuss
To unsubscribe, email [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to