167efb5974
R=jgruber@chromium.org Bug: v8:12926 Change-Id: I565455068a385c708dce9406120de9ec3f893341 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4138257 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#85117}
11 lines
356 B
JavaScript
11 lines
356 B
JavaScript
// Copyright 2023 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.
|
|
|
|
// Adding a listener so that {profileEnd} does not create a file on the disk.
|
|
d8.profiler.setOnProfileEndListener(() =>{});
|
|
|
|
console.profile();
|
|
console.profileEnd();
|
|
console.profileEnd();
|