Skip to content

Chromium v8 JavaScript (JS) stacks in Perfetto? #275

@ivberg

Description

@ivberg

It seems that the tracing probes and infrastructure are highly shared between F12 perf dev tools & Perfetto.

It seems F12 Dev Tools enables some categories that Perfetto UI Chrome tracing supports. Things like these categories

  • v8.runtime_stats_sampling
  • v8.cpu_profiler

Again these can be collected by Perfetto. Additionally, a F12 profile with JS stacks can be saved and loaded by Perfetto.

However, it doesn't seem like Perfetto has support for these. There is no UI to show them and the SQL query interface does now show /expose data under cpu_profile_stack_sample no matter if the trace was taken in Perfetto or F12 Profile JSON

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions