2 # ********************************************************************
3 # * Copyright (C) 2016 and later: Unicode, Inc. and others.
4 # * License & terms of use: http://www.unicode.org/copyright.html#License
5 # ********************************************************************
6 # ********************************************************************
8 # * Copyright (c) 2005-2013, International Business Machines Corporation and
9 # * others. All Rights Reserved.
10 # ********************************************************************
14 require "../perldriver/Common.pl";
16 use lib '../perldriver';
21 "title"=>"UnicodeSet span()/contains() performance",
23 "operationIs"=>"tested Unicode code point",
26 #"outputType"=>"HTML",
27 "dataDir"=>$UDHRDataPath,
28 "outputDir"=>"../results"
32 # tests will be done for all the programs. Results will be stored and connected
35 $p = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/unisetperf/$WindowsPlatform/Release/unisetperf.exe";
37 $p = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest."/unisetperf/unisetperf";
43 "$p,Contains --type Bv",
44 "$p,Contains --type Bv0"
48 "$p,SpanUTF16 --type Bv",
49 "$p,SpanUTF16 --type Bv0"
68 runTests($options, $tests, $dataFiles);
71 "title"=>"UnicodeSet span()/contains() performance",
72 "headers"=>"Bv BvF Bvp BvpF L Bvl",
73 "operationIs"=>"tested Unicode code point",
76 #"outputType"=>"HTML",
77 "dataDir"=>$UDHRDataPath,
78 "outputDir"=>"../results"
84 "$p,SpanUTF8 --type Bv",
85 "$p,SpanUTF8 --type BvF",
86 "$p,SpanUTF8 --type Bvp",
87 "$p,SpanUTF8 --type BvpF",
88 "$p,SpanUTF8 --type L",
89 "$p,SpanUTF8 --type Bvl"
93 runTests($options, $tests, $dataFiles);