Bug 1089446 - Remove netwerk/test/neckoTiming.pl, which is ancient and unused. r=mcmanus.
authorNicholas Nethercote <nnethercote@mozilla.com>
Sun, 26 Oct 2014 19:29:52 -0700
changeset 213023 64c5c57286bd822466da151e2240379b51b0b205
parent 213022 e0d847bcf86f85b4be5564c430f4dc4e6ebaa52e
child 213024 82e3c989ec643eaa336310457a62a0d504f9e16d
push id27738
push usercbook@mozilla.com
push dateThu, 30 Oct 2014 13:46:07 +0000
treeherdermozilla-central@1aa1b23d799e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus
bugs1089446
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1089446 - Remove netwerk/test/neckoTiming.pl, which is ancient and unused. r=mcmanus.
netwerk/test/PageList.txt
netwerk/test/neckoTiming.pl
deleted file mode 100644
--- a/netwerk/test/PageList.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-http://cowtools.mcom.com/perf/content/base/home.netscape.com/
-http://cowtools.mcom.com/perf/content/base/my.netscape.com/
-http://cowtools.mcom.com/perf/content/base/www.aol.com/
-http://cowtools.mcom.com/perf/content/base/www.mapquest.com/
-http://cowtools.mcom.com/perf/content/base/www.moviefone.com/
-http://cowtools.mcom.com/perf/content/base/www.digitalcity.com/
-http://cowtools.mcom.com/perf/content/base/www.iplanet.com/
-http://cowtools.mcom.com/perf/content/base/web.icq.com/
-http://cowtools.mcom.com/perf/content/base/www.compuserve.com/
-http://cowtools.mcom.com/perf/content/base/www.msnbc.com/
-http://cowtools.mcom.com/perf/content/base/www.yahoo.com/
-http://cowtools.mcom.com/perf/content/base/bugzilla.mozilla.org/
-http://cowtools.mcom.com/perf/content/base/www.msn.com/
-http://cowtools.mcom.com/perf/content/base/slashdot.org/
-http://cowtools.mcom.com/perf/content/base/www.nytimes.com/
-http://cowtools.mcom.com/perf/content/base/www.nytimes.com_Table/
-http://cowtools.mcom.com/perf/content/base/www.w3.org_DOML2Core/
-http://cowtools.mcom.com/perf/content/base/lxr.mozilla.org/
-http://cowtools.mcom.com/perf/content/base/espn.go.com/
-http://cowtools.mcom.com/perf/content/base/www.voodooextreme.com/
-http://cowtools.mcom.com/perf/content/base/www.wired.com/
-http://cowtools.mcom.com/perf/content/base/hotwired.lycos.com/
-http://cowtools.mcom.com/perf/content/base/www.ebay.com/
-http://cowtools.mcom.com/perf/content/base/www.apple.com/
-http://cowtools.mcom.com/perf/content/base/www.amazon.com/
-http://cowtools.mcom.com/perf/content/base/www.altavista.com/
-http://cowtools.mcom.com/perf/content/base/www.zdnet.com_Gamespot.com/
-http://cowtools.mcom.com/perf/content/base/www.spinner.com/
-http://cowtools.mcom.com/perf/content/base/www.microsoft.com/
-http://cowtools.mcom.com/perf/content/base/www.time.com/
-http://cowtools.mcom.com/perf/content/base/www.travelocity.com/
-http://cowtools.mcom.com/perf/content/base/www.expedia.com/
-http://cowtools.mcom.com/perf/content/base/www.quicken.com/
-http://cowtools.mcom.com/perf/content/base/www.zdnet.com/
-http://cowtools.mcom.com/perf/content/base/www.excite.com/
-http://cowtools.mcom.com/perf/content/base/www.google.com/
-http://cowtools.mcom.com/perf/content/base/www.tomshardware.com/
-http://cowtools.mcom.com/perf/content/base/www.cnn.com/
-http://cowtools.mcom.com/perf/content/base/news.cnet.com/
-http://cowtools.mcom.com/perf/content/base/www.sun.com/
deleted file mode 100644
--- a/netwerk/test/neckoTiming.pl
+++ /dev/null
@@ -1,124 +0,0 @@
-#neckoTiming.pl
-#
-# This file drives the Neck Page Load Timer.
-# Written by John A. Taylor in 2001
-
-use Strict;
-
-my @pageList;
-my @fileList;
-my @timeList;
-my @minTimes;
-my @maxTimes;
-my @avgTimes;
-my $file_name; # = "PageList_all_pages.txt";
-my $output_file = "timing_output.html";
-my $test_loc; #  = " c:/builds/src/mozilla/dist/WIN32_O.OBJ/bin/TestPageLoad";
-my $test_com;
-my $num_tests=1;
-my $num_pages=0;
-
-if($#ARGV != 2){
-  usage(@ARGV);
-}
-
-$num_tests = $ARGV[0];
-$file_name = $ARGV[1];
-$test_loc  = $ARGV[2];
-
-push (@pageList, GetTestList($file_name));
-
-my $i, $j, this;
-for($i = 0; $i < $num_tests; $i++) {
-  $j=0;
-  foreach $page (@pageList) {
-    my $start, $finish, $total;
-    $test_com = $test_loc . " " . $page . " | ";
-    printf "Testing (%d/%d): $page\n",$i*$num_pages+$j+1, $num_tests * $num_pages;
-    #  $start = (times)[0];
-    open (TEST, $test_com) 
-      || die ("Could not find test program: $test_loc");
-    while(<TEST>) {
-      if(/>>PageLoadTime>>(\d*)>>/){
-	print "$1\n";
-	$this = $1/1000;
-	$timeList[$j][$i] = $this;
-	@avgTimes[$j] += $this;
-	if($this > @maxTimes[$j] || $i == 0) {
-	  @maxTimes[$j] = $this;
-	}
-	if($this < @minTimes[$j] || $i == 0) {
-	  @minTimes[$j] = $this;
-	}
-      }
-    }
-    $j++;
-  }
-}
-
-for($i = 0; $i < $j; $i++) {
-  @avgTimes[$i] /= $num_tests;
-}
-
-PrintReport();
-print "\nHTML formated report is in: timing_output.html\nin this directory\n";
-exit;
-
-my $num_cols = $num_tests + 4;
-sub PrintReport {
-  my $j=0;
-  open (OUT, ">$output_file");
-  print OUT "<HTML><BODY><H3>Necko Timing Test Results</H3>",
-            "<b>Number of iterations: $num_tests</b>",
-            "<TABLE border=1 cols=$num_cols><tr><td>Page Location</td><td>Avg Time</td>",
-	    "<td>Max Time</td><td>Min Time</td><td colspan=$num_tests>Times ... </td>";
-
-  foreach $page(@pageList) {
-    #$loc=$page;
-    #$max_time = @maxTimes[$j];
-    #$min_time = @minTimes[$j];
-    #$avg_time = @avgTimes[$j];
-    #$time_1   = $timeList[$j][0];
-    #write;
-    printf OUT "<tr><td>$page</td><td>%d</td><td>@maxTimes[$j]</td><td>@minTimes[$j]</td>", @avgTimes[$j];
-    #print "\n$page\t\t@avgTimes[$j]\t@maxTimes[$j]\t@minTimes[$j]\t";
-    my $i;
-    for($i=0; $i < $num_tests; $i++){
-      print OUT "<td>$timeList[$j][$i]</td>";
-    }
-    print OUT "</tr>";
-    $j++;
-  }
-  print OUT "</TABLE><H4><I>Report Done</I></H4></BODY></HTML>";
-}
-
-sub GetTestList {
-    my ($list_file) = @_;
-    my @retval = ();
-
-    open (TESTLIST, $list_file) ||
-      die("Could not find test list file: '$list_file': $!\n");
-
-        while (<TESTLIST>) {
-	  s/\n$//;
-	  if (!(/\s*\#/)) {
-	    # It's not a comment, so process it
-	    push (@retval, $_);
-	    $num_pages++;
-	  }
-        }
-
-    close (TESTLIST);
-    return @retval;
-}
-
-sub usage {
-    print STDERR 
-      ("\nusage: $0 NUM FILE LOC \n\n" .
-       "NUM             Number of iterations you want\n" .
-       "FILE            Location of input file containing test pages\n" .
-       "LOC             Path (including executable) of TestPageLoad\n" .
-       "                (should be in same directory as mozilla bin\n".
-       "                  ex: /builds/mozilla/dist/bin/TestPageLoad )\n\n");
-    exit (1);
-}