mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-19 03:34:38 +00:00
ICU-4362 Configure UsetPerf to run against current and previous version of ICU.
X-SVN-Rev: 23744
This commit is contained in:
parent
5d7da658df
commit
e64b2064fa
1 changed files with 17 additions and 14 deletions
|
@ -16,8 +16,8 @@ use PerfFramework;
|
|||
|
||||
|
||||
my $options = {
|
||||
"title"=>"Uset performance: ICU ".$ICULatestVersion,
|
||||
"headers"=>"ICU".$ICULatestVersion,
|
||||
"title"=>"Uset performance: ICU (".$ICUPreviousVersion." and ".$ICULatestVersion.")",
|
||||
"headers"=>"ICU".$ICUPreviousVersion." ICU".$ICULatestVersion,
|
||||
"operationIs"=>"unicode string",
|
||||
"passes"=>"1",
|
||||
"time"=>"2",
|
||||
|
@ -28,23 +28,26 @@ my $options = {
|
|||
|
||||
# programs
|
||||
# tests will be done for all the programs. Results will be stored and connected
|
||||
my $p;
|
||||
my $p1, $p2;
|
||||
if ($OnWindows) {
|
||||
$p = $ICUPathLatest."/usetperf/Release/usetperf.exe";
|
||||
$p1 = $ICUPathPrevious."/usetperf/Release/usetperf.exe";
|
||||
$p2 = $ICUPathLatest."/usetperf/Release/usetperf.exe";
|
||||
} else {
|
||||
$p = $ICUPathLatest."/usetperf/usetperf";
|
||||
$p1 = $ICUPathPrevious."/usetperf/usetperf";
|
||||
$p2 = $ICUPathLatest."/usetperf/usetperf";
|
||||
|
||||
}
|
||||
|
||||
my $tests = {
|
||||
"titlecase_letter/add", ["$p titlecase_letter_add"],
|
||||
"titlecase_letter/contains", ["$p titlecase_letter_contains"],
|
||||
"titlecase_letter/iterator", ["$p titlecase_letter_iterator"],
|
||||
"unassigned/add", ["$p unassigned_add"],
|
||||
"unassigned/contains", ["$p unassigned_contains"],
|
||||
"unassigned/iterator", ["$p unassigned_iterator"],
|
||||
"pattern1", ["$p pattern1"],
|
||||
"pattern2", ["$p pattern2"],
|
||||
"pattern3", ["$p pattern3"],
|
||||
"titlecase_letter/add", ["$p1 titlecase_letter_add", "$p2 titlecase_letter_add"],
|
||||
"titlecase_letter/contains", ["$p1 titlecase_letter_contains", "$p2 titlecase_letter_contains"],
|
||||
"titlecase_letter/iterator", ["$p1 titlecase_letter_iterator", "$p2 titlecase_letter_iterator"],
|
||||
"unassigned/add", ["$p1 unassigned_add", "$p2 unassigned_add"],
|
||||
"unassigned/contains", ["$p1 unassigned_contains", "$p2 unassigned_contains"],
|
||||
"unassigned/iterator", ["$p1 unassigned_iterator", "$p2 unassigned_iterator"],
|
||||
"pattern1", ["$p1 pattern1", "$p2 pattern1"],
|
||||
"pattern2", ["$p1 pattern2", "$p2 pattern2"],
|
||||
"pattern3", ["$p1 pattern3", "$p2 pattern3"],
|
||||
};
|
||||
|
||||
my $dataFiles = {
|
||||
|
|
Loading…
Add table
Reference in a new issue