monitor-api - v1.8.0
    Preparing search index...

    Interface MemoryMeasurement

    Memory attributed to the page by performance.measureUserAgentSpecificMemory(), available in Chromium only when the page is cross-origin isolated.

    interface MemoryMeasurement {
        byContext: MemoryContext[];
        byType: Record<string, number>;
        timestamp: number;
        total: number;
    }
    Index

    Properties

    byContext: MemoryContext[]

    The frames and workers holding the most memory, largest first, capped at 20. Memory shared between several contexts or not attributed to any is left out, so the list can sum to less than total.

    byType: Record<string, number>

    Megabytes by memory type, such as JavaScript, DOM, or Shared. Memory the browser attributes to several types is keyed by the types joined with +, and untyped memory by Other.

    timestamp: number

    Unix timestamp in milliseconds when the measurement resolved.

    total: number

    Total memory in megabytes used by the page, its same-origin iframes, and its workers.