Home | History | Annotate | Download | only in Object
      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 
      6 load('../base.js');
      7 
      8 load('assign.js');
      9 load('values.js');
     10 load('entries.js');
     11 
     12 var success = true;
     13 
     14 function PrintResult(name, result) {
     15   print(name + '-Object(Score): ' + result);
     16 }
     17 
     18 
     19 function PrintError(name, error) {
     20   PrintResult(name, error);
     21   success = false;
     22 }
     23 
     24 
     25 BenchmarkSuite.config.doWarmup = undefined;
     26 BenchmarkSuite.config.doDeterministic = undefined;
     27 
     28 BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
     29                            NotifyError: PrintError });
     30