KC's Workspace
    Preparing search index...

    The time spent importing & executing a non-externalized file.

    interface ImportDuration {
        external?: boolean;
        importer?: string;
        selfTime: number;
        totalTime: number;
    }
    Index

    Properties

    external?: boolean

    Will be set to true, if the module was externalized. In this case totalTime and selfTime are identical.

    importer?: string

    Which module imported this module first. All subsequent imports are cached.

    selfTime: number

    The time spent importing & executing the file itself, not counting all non-externalized imports that the file does.

    totalTime: number

    The time spent importing & executing the file and all its imports.