]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/unisetperf/unisetperf.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';
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 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/unisetperf/$WindowsPlatform/Release/unisetperf.exe";
33 $p = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest."/unisetperf/unisetperf";
39 "$p,Contains --type Bv",
40 "$p,Contains --type Bv0"
44 "$p,SpanUTF16 --type Bv",
45 "$p,SpanUTF16 --type Bv0"
64 runTests
($options, $tests, $dataFiles);
67 "title"=>"UnicodeSet span()/contains() performance",
68 "headers"=>"Bv BvF Bvp BvpF L Bvl",
69 "operationIs"=>"tested Unicode code point",
72 #"outputType"=>"HTML",
73 "dataDir"=>$UDHRDataPath,
74 "outputDir"=>"../results"
80 "$p,SpanUTF8 --type Bv",
81 "$p,SpanUTF8 --type BvF",
82 "$p,SpanUTF8 --type Bvp",
83 "$p,SpanUTF8 --type BvpF",
84 "$p,SpanUTF8 --type L",
85 "$p,SpanUTF8 --type Bvl"
89 runTests
($options, $tests, $dataFiles);