v8/test/inspector/cpu-profiler
Clemens Backes e69505242f [wasm] Add more output to console-profile-wasm test
The test occasionally times out, and it's unclear why.
This CL adds an explicit timeout to the test (30 seconds), and prints
all seen profiles after that. This makes it easier to see which frame is
missing from the profiles.

As a drive-by refactoring, we now also use
{InspectorTest.runAsyncTestSuite} instead of the hand-written sequential
execution of the asynchronous test functions.

R=thibaudm@chromium.org

Bug: v8:13370
Change-Id: I67f53a819706c8e5971bf32dc925d90b21c96243
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3956976
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83748}
2022-10-17 15:18:25 +00:00
..
console-profile-asm-js-expected.txt [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-asm-js.js [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-end-parameterless-crash-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-end-parameterless-crash.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-wasm-expected.txt [wasm] Add more output to console-profile-wasm test 2022-10-17 15:18:25 +00:00
console-profile-wasm.js [wasm] Add more output to console-profile-wasm test 2022-10-17 15:18:25 +00:00
console-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
coverage-block-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage-block.js [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
coverage-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage.js [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
enable-disable-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
enable-disable.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stop-without-preceeding-start-expected.txt Fix common misspellings 2017-08-02 09:35:28 +00:00
stop-without-preceeding-start.js Fix common misspellings 2017-08-02 09:35:28 +00:00