Lines Matching refs:VM
247 puts "that each benchmark/VM configuration is run in a single VM invocation, and"
250 puts "interleaving of VM invocations further minimizes systematics due to changes in"
255 puts "VM invocation, and the number of VM invocations per benchmark. By default,"
256 puts "SunSpider, VM, and Kraken are all run; but you can run any combination of these"
259 puts "The <vm> should be either a path to a JavaScript runtime executable (such as"
276 puts "--force-vm-kind Turn off auto-detection of VM kind, and assume that it is"
279 puts "--force-vm-copy Force VM builds to be copied to bencher's working directory."
295 puts "--brief Print only the final result for each VM."
648 case plan.vm.vmType
674 doublePuts($stderr,file," if (__bencher_index >= #{$warmup}) print(\"#{name}: #{plan.vm}: #{plan.iteration}: \" + (__bencher_index - #{$warmup}) + \": Time: \"+(after-before));");
675 doublePuts($stderr,file," gc();") unless plan.vm.shouldMeasureGC
688 doublePuts($stderr,file,"gc();") unless plan.vm.shouldMeasureGC
692 doublePuts($stderr,file,"print(\"#{name}: #{plan.vm}: #{plan.iteration}: #{innerIndex}: Time: \"+__bencher_run(#{benchPath.inspect}));")
693 doublePuts($stderr,file,"gc();") unless plan.vm.shouldMeasureGC
703 doublePuts($stderr,file," debug(\"#{name}: #{plan.vm}: #{plan.iteration}: \" + (__bencher_count - #{$warmup}) + \": Time: \" + result);")
773 plan.vm.emitRunCode(emitBenchRunCodeFile(name, plan, benchDataPath, benchPath))
780 result = plans.select{|v| v.suite.name == suiteName and v.benchmark.name == benchName and v.vm.name == vmName and v.iteration == iteration}
806 def vm
807 plan.vm
828 class VM
847 # Try to detect information about the VM.
899 basename, filename = Benchfile.uniqueFilename("vm")
1107 def initialize(benchmark, vm, iteration)
1109 @vm = vm
1121 def vm
1122 @vm
1142 "#{@benchmark} on #{@suiteOnVM.vm}"
1149 def vm
1150 @suiteOnVM.vm
1170 raise "VM mismatch; I've got #{vm} and they've got #{result.vm}" unless result.vm == vm
1177 def initialize(vm, vmStats, suite)
1179 @vm = vm
1183 raise unless @vm.is_a? VM
1189 "#{@suite} on #{@vm}"
1196 def vm
1197 @vm
1228 def vm
1229 @benchmarkOnVM.vm
1332 | vm |
1333 suitesOnVMsForVM[vm] = []
1344 | vm, vmIndex |
1348 suiteOnVM = SuiteOnVM.new(vm, vmStats, suite)
1351 suitesOnVMsForVM[vm] << suiteOnVM
1390 | vm |
1397 suitesOnVMsForVM[vm].each {
1399 # For a given iteration, suite, and VM, compute the suite's preferred mean
1413 # $overallResults will have a Stats for each VM. That Stats object will hold
1427 | vm, vmIndex |
1429 $stderr.puts "#{vm} (arithmeticMean): #{vmStats.arithmeticMeanStats}"
1430 $stderr.puts "#{vm} (geometricMean): #{vmStats.geometricMeanStats}"
1436 | vm |
1437 vm.nameKind
1442 | vm |
1443 vm.to_s
1527 | vm |
1528 outp.print "\"#{vm.name}\" at #{vm.origPath}"
1529 if vm.svnRevision
1530 outp.print " (r#{vm.svnRevision})"
1537 outp.puts wrap("Collected #{$outer*$inner} sample#{plural($outer*$inner)} per benchmark/VM, "+
1538 "with #{$outer} VM invocation#{plural($outer)} per benchmark."+
1549 else (" Used #{$warmup*$rerun} benchmark iteration#{plural($warmup*$rerun)} per VM "+
1713 ['--force-vm-kind', GetoptLong::REQUIRED_ARGUMENT],
1714 ['--force-vm-copy', GetoptLong::NO_ARGUMENT],
1748 when '--force-vm-kind'
1756 quickFail("Expected either 'jsc' or 'DumpRenderTree' for --force-vm-kind, but got '#{arg}'.",
1759 when '--force-vm-copy'
1821 # If the --dont-copy-vms option was passed, it overrides the --force-vm-copy option.
1858 | vm |
1859 if vm =~ /([a-zA-Z0-9_ ]+):/
1862 vm = $~.post_match
1867 $stderr.puts "#{name}: #{vm}" if $verbosity >= 1
1868 $vms << VM.new(Pathname.new(vm).realpath, name, nameKind, nil)
1877 | vm |
1878 if vm.vmType != :jsc and $timeMode != :date
1880 $stderr.puts "Warning: using Date.now() instead of preciseTime() because #{vm} doesn't support the latter."
1895 | vm |
1896 canCopyIntoBenchPath = false unless vm.canCopyIntoBenchPath
1901 | vm |
1902 $stderr.puts "Copying #{vm} into #{BENCH_DATA_PATH}..."
1903 vm.copyIntoBenchPath
1914 | vm |
1915 if vm.name == $measureGC
1920 $stderr.puts "Warning: --measure-gc option ignored because no VM is named #{$measureGC}"
1925 $stderr.puts "Warning: will only collect one sample per benchmark/VM. Confidence interval calculation will fail."
1952 | vm |
1957 $runPlans << BenchRunPlan.new(benchmark, vm, iteration)
1980 | vm |
1981 vm.to_s.size
1999 text2 = plan.benchmark.to_s+"/"+plan.vm.to_s