Skip to content

Host functions / Builtins display rubbish source file in CPU Profiler #1785

@jwajgelt

Description

@jwajgelt

Description:

In the JS Profiler output, functions not implemented in JS (Hermes built-ins, Host Functions from modules, GC, possibly others) are shown as being defined at the line 1 of the finished bundle.
Since bundle URLs are usually pretty ugly (especially with Expo), this results in an ugly output on the CPU profile view for those functions:

Image

If possible, we should either hide the "File" field for these functions, or provide a value which is less ugly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions