Skip to content

Loading perf.data is slow #225

@Marwes

Description

@Marwes

Describe the bug

Loading in a 1.5G file captured over 40s takes tens of minutes to load.

To Reproduce

  1. Download the rust compiler https://www.rust-lang.org/learn/get-started
  2. Checkout https://github.com/Marwes/combine
  3. Run perf record --call-graph dwarf cargo build
  4. Open the file with hotspot

Expected behavior
Hotspot to load the file much faster :)

Screenshots
I attached perf to hotspot as it was loading the file and took a screenshot of the flamegraph after capturing a few seconds.

Screenshot from 2020-01-04 01-18-04

Version Info (please complete the following information):

  • Linux Kernel version: 4.15.0-72-generic
  • perf version: 4.15.18
  • hotspot version (appimage? selfcompiled?): 1.2 appimage
  • if self-compiled hotspot, what version of elfutils:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions