]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/charperf/CharPerf.pl
2 # ********************************************************************
4 # * Copyright (c) 2002-2008, International Business Machines Corporation and
5 # * others. All Rights Reserved.
6 # ********************************************************************
11 require "../perldriver/Common.pl";
13 use lib
'../perldriver';
18 "title"=>"Character property performance: ICU".$ICULatestVersion." vs. STDLib",
19 "headers"=>"StdLib ICU".$ICULatestVersion,
20 "operationIs"=>"code point",
21 "timePerOperationIs"=>"Time per code point",
24 #"outputType"=>"HTML",
25 "dataDir"=>"Not Using Data Files",
26 "outputDir"=>"../results"
31 # tests will be done for all the programs. Results will be stored and connected
34 $p = $ICUPathLatest."/charperf/Release/charperf.exe";
36 $p = $ICUPathLatest."/charperf/charperf";
40 "isAlpha", ["$p TestStdLibIsAlpha" , "$p TestIsAlpha" ],
41 "isUpper", ["$p TestStdLibIsUpper" , "$p TestIsUpper" ],
42 "isLower", ["$p TestStdLibIsLower" , "$p TestIsLower" ],
43 "isDigit", ["$p TestStdLibIsDigit" , "$p TestIsDigit" ],
44 "isSpace", ["$p TestStdLibIsSpace" , "$p TestIsSpace" ],
45 "isAlphaNumeric", ["$p TestStdLibIsAlphaNumeric" , "$p TestIsAlphaNumeric" ],
46 "isPrint", ["$p TestStdLibIsPrint" , "$p TestIsPrint" ],
47 "isControl", ["$p TestStdLibIsControl" , "$p TestIsControl" ],
48 "toLower", ["$p TestStdLibToLower" , "$p TestToLower" ],
49 "toUpper", ["$p TestStdLibToUpper" , "$p TestToUpper" ],
50 "isWhiteSpace", ["$p TestStdLibIsWhiteSpace" , "$p TestIsWhiteSpace" ],
55 runTests
($options, $tests, $dataFiles);