]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/perf/strsrchperf/StrSrchPerf_r.pl
7b16dc8ade6ef2507dc47326cd2d947fe197ef97
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) 2008-2013, International Business Machines
9 # * Corporation and others. All Rights Reserved.
10 # ********************************************************************
14 require "../perldriver/Common.pl";
16 use lib
'../perldriver';
21 "title" => "String search performance regression: ICU ("
22 . $ICUPreviousVersion . " and "
23 . $ICULatestVersion . ")",
24 "headers" => "ICU" . $ICUPreviousVersion . " ICU" . $ICULatestVersion,
25 "operationIs" => "code point",
26 "timePerOperationIs" => "Time per code point",
30 #"outputType"=>"HTML",
31 "dataDir" => $UDHRDataPath,
32 "outputDir" => "../results"
41 $p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
42 $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
45 $p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPathPrevious . "/strsrchperf/strsrchperf -b";
46 $p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest . "/strsrchperf/strsrchperf -b";
50 "en" => ["udhr_eng.txt"],
51 "de" => ["udhr_deu_1996.txt"],
52 "fr" => ["udhr_fra.txt"],
53 "ru" => ["udhr_rus.txt"],
54 "th" => ["udhr_tha.txt"],
55 "ja" => ["udhr_jpn.txt"],
56 "zh" => ["udhr_cmn_hans.txt"],
60 "ICU Forward Search", [ "$p1 Test_ICU_Forward_Search", "$p2 Test_ICU_Forward_Search" ],
61 "ICU Backward Search",[ "$p1 Test_ICU_Backward_Search", "$p2 Test_ICU_Backward_Search" ],
64 runTests
( $options, $tests, $dataFiles );