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

Side by Side Diff: source/test/perf/perldriver/PerfFramework.pm

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months 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
« no previous file with comments | « source/test/perf/perf.sln ('k') | source/test/perf/unisetperf/draft/bitset.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/local/bin/perl 1 #!/usr/local/bin/perl
2 # *********************************************************************** 2 # ***********************************************************************
3 # * COPYRIGHT: 3 # * COPYRIGHT:
4 # * Copyright (c) 2002-2013, International Business Machines Corporation 4 # * Copyright (c) 2002-2013, International Business Machines Corporation
5 # * and others. All Rights Reserved. 5 # * and others. All Rights Reserved.
6 # *********************************************************************** 6 # ***********************************************************************
7 7
8 use strict; 8 use strict;
9 9
10 #use Dataset; 10 #use Dataset;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 sub compareLoop { 92 sub compareLoop {
93 my $tests = shift; 93 my $tests = shift;
94 #my @tests = @{$tests}; 94 #my @tests = @{$tests};
95 my %tests = %{$tests}; 95 my %tests = %{$tests};
96 my $locale = shift; 96 my $locale = shift;
97 my $datafile = shift; 97 my $datafile = shift;
98 my $locAndData = ""; 98 my $locAndData = "";
99 if($locale) { 99 if($locale) {
100 $locAndData .= " -L $locale"; 100 $locAndData .= " -L \"$locale\"";
101 } 101 }
102 if($datafile) { 102 if($datafile) {
103 $locAndData .= " -f $datafile"; 103 $locAndData .= " -f $datafile";
104 } 104 }
105 105
106 my $args; 106 my $args;
107 my ($i, $j, $aref); 107 my ($i, $j, $aref);
108 foreach $i ( sort keys %tests ) { 108 foreach $i ( sort keys %tests ) {
109 debug("Test: $i\n"); 109 debug("Test: $i\n");
110 $aref = $tests{$i}; 110 $aref = $tests{$i};
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 $ms_str[0] .= " (discarded)" if (@ms_str > 1); 381 $ms_str[0] .= " (discarded)" if (@ms_str > 1);
382 out("Raw times (ms/pass): ", join(", ", @ms_str), "<BR>\n"); 382 out("Raw times (ms/pass): ", join(", ", @ms_str), "<BR>\n");
383 383
384 ($iterCount, $eventsPerIter, @ms); 384 ($iterCount, $eventsPerIter, @ms);
385 } 385 }
386 386
387 387
388 1; 388 1;
389 389
390 #eof 390 #eof
OLDNEW
« no previous file with comments | « source/test/perf/perf.sln ('k') | source/test/perf/unisetperf/draft/bitset.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698