Skip to content

MemoryMonitor

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/joist/blob/main/js/MemoryMonitor.ts for the most up-to-date information.

Overview

Monitors the memory usage over time.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class MemoryMonitor

import { MemoryMonitor } from 'scenerystack/joist';

Constructor

new MemoryMonitor( providedOptions? : MemoryMonitorOptions )

Instance Methods

measure()

Records a memory measurement.

Instance Properties

runningAverage : RunningAverage

(readonly)

Source Code

See the source for MemoryMonitor.ts in the joist repository.