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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/usr/bin/perl
2 # ********************************************************************
3 # * COPYRIGHT:
4 # * Copyright (c) 2008, International Business Machines
5 # * Corporation and others. All Rights Reserved.
6 # ********************************************************************
7
8 #use strict;
9
10 require "../perldriver/Common.pl";
11
12 use lib '../perldriver';
13
14 use PerfFramework;
15
16 my $options = {
17 "title" => "String search performance regression: ICU ("
18 . $ICUPreviousVersion . " and "
19 . $ICULatestVersion . ")",
20 "headers" => "ICU" . $ICUPreviousVersion . " ICU" . $ICULatestVersion,
21 "operationIs" => "code point",
22 "timePerOperationIs" => "Time per code point",
23 "passes" => "10",
24 "time" => "5",
25
26 #"outputType"=>"HTML",
27 "dataDir" => $UDHRDataPath,
28 "outputDir" => "../results"
29 };
30
31 # programs
32
33 my $p1; # Previous
34 my $p2; # Latest
35
36 if ($OnWindows) {
37 $p1 = $ICUPathPrevious . "/strsrchperf/$WindowsPlatform/Release/strsrchperf. exe -b";
38 $p2 = $ICUPathLatest . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.ex e -b";
39 }
40 else {
41 $p1 = $ICUPathPrevious . "/strsrchperf/strsrchperf -b";
42 $p2 = $ICUPathLatest . "/strsrchperf/strsrchperf -b";
43 }
44
45 my $dataFiles = {
46 "en" => ["udhr_eng.txt"],
47 "de" => ["udhr_deu_1996.txt"],
48 "fr" => ["udhr_fra.txt"],
49 "ru" => ["udhr_rus.txt"],
50 "th" => ["udhr_tha.txt"],
51 "ja" => ["udhr_jpn.txt"],
52 "zh" => ["udhr_cmn_hans.txt"],
53 };
54
55 my $tests = {
56 "ICU Forward Search", [ "$p1 Test_ICU_Forward_Search", "$p2 Test_ICU_Forward _Search" ],
57 "ICU Backward Search",[ "$p1 Test_ICU_Backward_Search", "$p2 Test_ICU_Backwa rd_Search" ],
58 };
59
60 runTests( $options, $tests, $dataFiles );
61
62
OLDNEW
« 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