]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/usetperf/UsetPerf.pl
2 # ********************************************************************
4 # * Copyright (c) 2005-2013, International Business Machines Corporation and
5 # * others. All Rights Reserved.
6 # ********************************************************************
10 require "../perldriver/Common.pl";
12 use lib
'../perldriver';
19 "title"=>"Uset performance: ICU (".$ICUPreviousVersion." and ".$ICULatestVersion.")",
20 "headers"=>"ICU".$ICUPreviousVersion." ICU".$ICULatestVersion,
21 "operationIs"=>"unicode string",
24 #"outputType"=>"HTML",
25 "dataDir"=>"Not Using Data Files",
26 "outputDir"=>"../results"
30 # tests will be done for all the programs. Results will be stored and connected
33 $p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/usetperf/$WindowsPlatform/Release/usetperf.exe";
34 $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/usetperf/$WindowsPlatform/Release/usetperf.exe";
36 $p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPathPrevious."/usetperf/usetperf";
37 $p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest."/usetperf/usetperf";
41 "titlecase_letter/add", ["$p1,titlecase_letter_add", "$p2,titlecase_letter_add"],
42 "titlecase_letter/contains", ["$p1,titlecase_letter_contains", "$p2,titlecase_letter_contains"],
43 "titlecase_letter/iterator", ["$p1,titlecase_letter_iterator", "$p2,titlecase_letter_iterator"],
44 "unassigned/add", ["$p1,unassigned_add", "$p2,unassigned_add"],
45 "unassigned/contains", ["$p1,unassigned_contains", "$p2,unassigned_contains"],
46 "unassigned/iterator", ["$p1,unassigned_iterator", "$p2,unassigned_iterator"],
47 "pattern1", ["$p1,pattern1", "$p2,pattern1"],
48 "pattern2", ["$p1,pattern2", "$p2,pattern2"],
49 "pattern3", ["$p1,pattern3", "$p2,pattern3"],
55 runTests
($options, $tests, $dataFiles);