Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: icu46/source/test/perf/charperf/CharPerf_r.pl

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/test/perf/charperf/CharPerf.pl ('k') | icu46/source/test/perf/charperf/Makefile.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/perf/charperf/CharPerf_r.pl
===================================================================
--- icu46/source/test/perf/charperf/CharPerf_r.pl (revision 0)
+++ icu46/source/test/perf/charperf/CharPerf_r.pl (revision 0)
@@ -0,0 +1,59 @@
+#!/usr/bin/perl
+# ********************************************************************
+# * COPYRIGHT:
+# * Copyright (c) 2002-2008, International Business Machines
+# * Corporation and others. All Rights Reserved.
+# ********************************************************************
+
+#use strict;
+
+require "../perldriver/Common.pl";
+
+use lib '../perldriver';
+
+use PerfFramework;
+
+my $options = {
+ "title"=>"Character property performance regression: ICU (".$ICUPreviousVersion." and ".$ICULatestVersion.")",
+ "headers"=>"ICU".$ICUPreviousVersion." ICU".$ICULatestVersion,
+ "operationIs"=>"code point",
+ "timePerOperationIs"=>"Time per code point",
+ "passes"=>"10",
+ "time"=>"5",
+ #"outputType"=>"HTML",
+ "dataDir"=>"Not Using Data Files",
+ "outputDir"=>"../results"
+ };
+
+# programs
+
+my $p1; # Previous
+my $p2; # Latest
+if ($OnWindows) {
+ $p1 = $ICUPathPrevious."/charperf/$WindowsPlatform/Release/charperf.exe";
+ $p2 = $ICUPathLatest."/charperf/$WindowsPlatform/Release/charperf.exe";
+} else {
+ $p1 = $ICUPathPrevious."/charperf/charperf";
+ $p2 = $ICUPathLatest."/charperf/charperf";
+}
+
+my $dataFiles = "";
+
+
+my $tests = {
+"isAlpha", ["$p1 TestIsAlpha" , "$p2 TestIsAlpha" ],
+"isUpper", ["$p1 TestIsUpper" , "$p2 TestIsUpper" ],
+"isLower", ["$p1 TestIsLower" , "$p2 TestIsLower" ],
+"isDigit", ["$p1 TestIsDigit" , "$p2 TestIsDigit" ],
+"isSpace", ["$p1 TestIsSpace" , "$p2 TestIsSpace" ],
+"isAlphaNumeric", ["$p1 TestIsAlphaNumeric" , "$p2 TestIsAlphaNumeric" ],
+"isPrint", ["$p1 TestIsPrint" , "$p2 TestIsPrint" ],
+"isControl", ["$p1 TestIsControl" , "$p2 TestIsControl" ],
+"toLower", ["$p1 TestToLower" , "$p2 TestToLower" ],
+"toUpper", ["$p1 TestToUpper" , "$p2 TestToUpper" ],
+"isWhiteSpace", ["$p1 TestIsWhiteSpace" , "$p2 TestIsWhiteSpace" ],
+};
+
+runTests($options, $tests, $dataFiles);
+
+
Property changes on: icu46/source/test/perf/charperf/CharPerf_r.pl
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/perf/charperf/CharPerf.pl ('k') | icu46/source/test/perf/charperf/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698