T

NativePlatformProfiler

Hermes' sampling profiler, shared with the loader's freeze watchdog.

type NativePlatformProfiler = { … }

Members

start(): boolean

Starts sampling; false when the profiler is missing or already running.

stop(): string | undefined

Stops sampling and returns the Chrome trace it recorded, or undefined when it was not running.