]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/unisetperf/unisetperf.pl
2 # ********************************************************************
4 # * Copyright (c) 2005-2008, International Business Machines Corporation and
5 # * others. All Rights Reserved.
6 # ********************************************************************
10 require "../perldriver/Common.pl";
12 use lib
'../perldriver';
17 "title"=>"UnicodeSet span()/contains() performance",
19 "operationIs"=>"tested Unicode code point",
22 #"outputType"=>"HTML",
23 "dataDir"=>$UDHRDataPath,
24 "outputDir"=>"../results"
28 # tests will be done for all the programs. Results will be stored and connected
31 $p = $ICUPathLatest."/unisetperf/Release/unisetperf.exe";
33 $p = $ICUPathLatest."/unisetperf/unisetperf";
35 my $pc = "$p Contains";
36 my $p16 = "$p SpanUTF16";
37 my $p8 = "$p SpanUTF8";
40 "Contains", ["$pc --type Bv",
43 "SpanUTF16", ["$p16 --type Bv",
63 runTests
($options, $tests, $dataFiles);
66 "title"=>"UnicodeSet span()/contains() performance",
67 "headers"=>"Bv BvF Bvp BvpF L Bvl",
68 "operationIs"=>"tested Unicode code point",
71 #"outputType"=>"HTML",
72 "dataDir"=>$UDHRDataPath,
73 "outputDir"=>"../results"
77 "SpanUTF8", ["$p8 --type Bv",
86 runTests
($options, $tests, $dataFiles);