2 # ********************************************************************
4 # * Copyright (c) 2002-2007, International Business Machines
5 # * Corporation and others. All Rights Reserved.
6 # ********************************************************************
10 #Assume we are running outside of the ICU4J source
11 use lib 'svn-icu4j/src/com/ibm/icu/dev/test/perf/perldriver';
15 #---------------------------------------------------------------------
17 my $TESTCLASS = 'com.ibm.icu.dev.test.perf.UCharacterPerf';
20 "title"=>"UnicodeCharacter Property performance regression (ICU4J 3.6 and 3.8)",
21 "headers"=>"ICU4J36 ICU4J38",
22 "operationIs"=>"code point",
23 "timePerOperationIs"=>"Time per code point",
27 "dataDir"=>"svn-icu4j/src/com/ibm/icu/dev/test/perf/data/collation",
28 "outputDir"=>"svn-icu4j/results_ICU4J"
33 my $jvm1 = "java -classpath svn-icu4j/classes $TESTCLASS";
34 my $jvm2 = "java -classpath svn-icu4j_3-6/classes $TESTCLASS";
40 "Digit ($pat)", ["$jvm1 Digit $pat" , "$jvm2 Digit $pat" ],
41 "GetNumericValue ($pat)", ["$jvm1 GetNumericValue $pat" , "$jvm2 GetNumericValue $pat" ],
42 "GetType ($pat)", ["$jvm1 GetType $pat" , "$jvm2 GetType $pat" ],
43 "IsDefined ($pat)", ["$jvm1 IsDefined $pat" , "$jvm2 IsDefined $pat" ],
44 "IsDigit ($pat)", ["$jvm1 IsDigit $pat" , "$jvm2 IsDigit $pat" ],
45 "IsIdentifierIgnorable ($pat)", ["$jvm1 IsIdentifierIgnorable $pat" , "$jvm2 IsIdentifierIgnorable $pat" ],
46 "IsISOControl ($pat)", ["$jvm1 IsISOControl $pat" , "$jvm2 IsISOControl $pat" ],
47 "IsLetter ($pat)", ["$jvm1 IsLetter $pat" , "$jvm2 IsLetter $pat" ],
48 "IsLetterOrDigit ($pat)", ["$jvm1 IsLetterOrDigit $pat" , "$jvm2 IsLetterOrDigit $pat" ],
49 "IsLowerCase ($pat)", ["$jvm1 IsLowerCase $pat" , "$jvm2 IsLowerCase $pat" ],
50 "IsSpaceChar ($pat)", ["$jvm1 IsSpaceChar $pat" , "$jvm2 IsSpaceChar $pat" ],
51 "IsTitleCase ($pat)", ["$jvm1 IsTitleCase $pat" , "$jvm2 IsTitleCase $pat" ],
52 "IsUnicodeIdentifierPart ($pat)", ["$jvm1 IsUnicodeIdentifierPart $pat" , "$jvm2 IsUnicodeIdentifierPart $pat" ],
53 "IsUnicodeIdentifierStart ($pat)", ["$jvm1 IsUnicodeIdentifierStart $pat" , "$jvm2 IsUnicodeIdentifierStart $pat" ],
54 "IsUpperCase ($pat)", ["$jvm1 IsUpperCase $pat" , "$jvm2 IsUpperCase $pat" ],
55 "IsWhiteSpace ($pat)", ["$jvm1 IsWhiteSpace $pat" , "$jvm2 IsWhiteSpace $pat" ]
59 runTests($options, $tests, $dataFiles);