Warning, /frameworks/kitemmodels/autotests/bihash/aggregrator.xls is written in an unsupported language. File is not indexed.
0001 0002 let $b := for $_name in ('testInsert', 'testLookup', 'testReverseLookup', 'testRemoveKey', 'testRemoveValue', 'testUpdateKey', 'testUpdateValue') 0003 let $a := for $_tag in (1, 2 , 3, 5, 8, 13, 21, 34, 50, 100, 150, 200, 250, 500, 1000, 1500, 2000, 2500, 5000, 10000, 15000, 20000, 25000) 0004 let $sum := for $num in (0 to 9) 0005 for $i in doc(concat($container, '_', $type, '_', $type, $num, '.xml'))//TestCase/TestFunction[@name=$_name]/BenchmarkResult[@tag=$_tag]/@value 0006 return $i 0007 0008 return <BenchmarkResult metric="InstructionReads" tag="{$_tag}" value="{max($sum)}" iterations="1" /> 0009 return <TestFunction name="{$_name}">{$a}</TestFunction> 0010 return <TestCase name="BiHashBenchmarks"> 0011 <Environment> 0012 <QtVersion>{$cml_container}({$type}, {$type})</QtVersion> 0013 <QTestVersion>{$cml_container}({$type}, {$type})</QTestVersion> 0014 </Environment>{$b} 0015 </TestCase>