[wasm] Add metrics for lazy compilation
This CL adds three metrics for lazy compilation: the number of functions compiled lazily, the total time spent on compiling functions lazily, and the maximum time spent on compiling a single function. All three metrics get recorded twice, once 5 seconds after instantiation, and once 20 seconds after instantiation. R=clemensb@chromium.org Bug: v8:12852 Change-Id: Ib9e5e12921fb1ec7aefd53af604cbb389bee79b9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3811502Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#82248}
Showing
Please
register
or
sign in
to comment