1// Copyright 2014 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5 6load('../base.js'); 7load('super.js'); 8load('default-constructor.js'); 9 10 11var success = true; 12 13function PrintResult(name, result) { 14 print(name + '-Classes(Score): ' + result); 15} 16 17 18function PrintError(name, error) { 19 PrintResult(name, error); 20 success = false; 21} 22 23 24BenchmarkSuite.config.doWarmup = undefined; 25BenchmarkSuite.config.doDeterministic = undefined; 26 27BenchmarkSuite.RunSuites({ NotifyResult: PrintResult, 28 NotifyError: PrintError }); 29