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

Unified Diff: icu46/source/test/perf/strsrchperf/StrSrchPerf_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/strsrchperf/Makefile.in ('k') | icu46/source/test/perf/strsrchperf/strsrchperf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/perf/strsrchperf/StrSrchPerf_r.pl
===================================================================
--- icu46/source/test/perf/strsrchperf/StrSrchPerf_r.pl (revision 0)
+++ icu46/source/test/perf/strsrchperf/StrSrchPerf_r.pl (revision 0)
@@ -0,0 +1,62 @@
+#!/usr/bin/perl
+# ********************************************************************
+# * COPYRIGHT:
+# * Copyright (c) 2008, International Business Machines
+# * Corporation and others. All Rights Reserved.
+# ********************************************************************
+
+#use strict;
+
+require "../perldriver/Common.pl";
+
+use lib '../perldriver';
+
+use PerfFramework;
+
+my $options = {
+ "title" => "String search 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" => $UDHRDataPath,
+ "outputDir" => "../results"
+};
+
+# programs
+
+my $p1; # Previous
+my $p2; # Latest
+
+if ($OnWindows) {
+ $p1 = $ICUPathPrevious . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
+ $p2 = $ICUPathLatest . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
+}
+else {
+ $p1 = $ICUPathPrevious . "/strsrchperf/strsrchperf -b";
+ $p2 = $ICUPathLatest . "/strsrchperf/strsrchperf -b";
+}
+
+my $dataFiles = {
+ "en" => ["udhr_eng.txt"],
+ "de" => ["udhr_deu_1996.txt"],
+ "fr" => ["udhr_fra.txt"],
+ "ru" => ["udhr_rus.txt"],
+ "th" => ["udhr_tha.txt"],
+ "ja" => ["udhr_jpn.txt"],
+ "zh" => ["udhr_cmn_hans.txt"],
+};
+
+my $tests = {
+ "ICU Forward Search", [ "$p1 Test_ICU_Forward_Search", "$p2 Test_ICU_Forward_Search" ],
+ "ICU Backward Search",[ "$p1 Test_ICU_Backward_Search", "$p2 Test_ICU_Backward_Search" ],
+};
+
+runTests( $options, $tests, $dataFiles );
+
+
Property changes on: icu46/source/test/perf/strsrchperf/StrSrchPerf_r.pl
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/perf/strsrchperf/Makefile.in ('k') | icu46/source/test/perf/strsrchperf/strsrchperf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698