PerformanceApiAdapter

See source code
Table of contents

Optional adapter that pipes PerformanceManager events into browser performance.mark() / performance.measure() for DevTools integration.

Tree-shakeable — only included if imported.

class PerformanceApiAdapter {}

Example

const adapter = new PerformanceApiAdapter(editor.performance);
// ... later
adapter.dispose();

Constructor

Constructs a new instance of the PerformanceApiAdapter class

Parameters

NameDescription

perfManager


Methods

dispose( )

Remove all listeners and stop piping events.

dispose(): void;

Prev
Mat
Next
PerformanceManager