6b3e8e693e
The original Profiler.getRuntimeCallStats implementation retrieved a bunch of V8 Counters instead of runtime call counters. This functionality is now available through the new APIs: enableCounters, disableCounters and getCounters. The getRuntimeCallStats API now retrieves real V8 Runtime Call Stats. Change-Id: I702f60a6c43773f5c41b6861be3f9435975c370f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2380853 Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#69753}
7 lines
258 B
Plaintext
7 lines
258 B
Plaintext
Test Counters collection enabling and disabling.
|
|
Expected error: "Counters collection is not enabled."
|
|
Expected error: "Counters collection already enabled."
|
|
Some counters reported
|
|
Expected error: "Counters collection is not enabled."
|
|
Less counters reported
|