WebIDLpedia

Profiler interface

Definition

JS Self-Profiling API defines Profiler

[Exposed=Window]
interface Profiler : EventTarget {
  readonly attribute DOMHighResTimeStamp sampleInterval;
  readonly attribute boolean stopped;

  constructor(ProfilerInitOptions options);
  Promise<ProfilerTrace> stop();
};

Methods and attributes that return objects implementing Profiler