// Copyright 2017 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.(function(){newBenchmarkSuite('Runtime.evaluate(String16Cstor)',[1000],[newBenchmark('Runtime.evaluate(String16Cstor)',false,false,0,EvaluateTest,Setup,TearDown),]);functionSetup(){// Force lazy compilation of inspector related scripts.SendMessage('Runtime.evaluate',{expression:''});}functionTearDown(){}functionEvaluateTest(){// This is meant to exercise the overhead of v8_inspector::String16// constructors. https://crbug.com/738469for(vari=0;i<10;++i){SendMessage('Runtime.evaluate',{expression:'({})',returnByValue:true});}}})();