// Copyright 2014 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.'use strict';varDefaultConstructorBenchmark=newBenchmarkSuite('DefaultConstructor',[100],[newBenchmark('NoSuperClass',false,false,0,NoSuperClass),newBenchmark('WithSuperClass',false,false,0,WithSuperClass),newBenchmark('WithSuperClassArguments',false,false,0,WithSuperClassArguments),]);classBaseClass{}classDerivedClassextendsBaseClass{}functionNoSuperClass(){returnnewBaseClass();}functionWithSuperClass(){returnnewDerivedClass();}functionWithSuperClassArguments(){returnnewDerivedClass(0,1,2,3,4);}