Makefile.js
function loadPerformance() {
    echo("");
    echo("Loading:");

    const results = [];

    for (let cnt = 0; cnt < 5; cnt++) {
        const loadPerfData = loadPerf({
            checkDependencies: false
        });

        echo(`  Load performance Run #${cnt + 1}:  %dms`, loadPerfData.loadTime);
        results.push(loadPerfData.loadTime);
    }

    results.sort((a, b) => a - b);
    const median = results[~~(results.length / 2)];

    echo("");
    echo("  Load Performance median:  %dms", median);
    echo("");
}
function loadPerformance() {
    echo("");
    echo("Loading:");

    const results = [];

    for (let cnt = 0; cnt < 5; cnt++) {
        const loadPerfData = loadPerf({
            checkDependencies: false
        });

        echo(`  Load performance Run #${cnt + 1}:  %dms`, loadPerfData.loadTime);
        results.push(loadPerfData.loadTime);
    }

    results.sort((a, b) => a - b);
    const median = results[~~(results.length / 2)];

    echo("");
    echo("  Load Performance median:  %dms", median);
    echo("");
}
function loadPerformance ( ) { echo ( "" ) ; echo ( "Loading:" ) ; const results = [ ] ; for ( let cnt = 0 ; cnt < 5 ; cnt ++ ) { const loadPerfData = loadPerf ( { checkDependencies : false } ) ; echo ( ` ${ cnt + 1 } ` , loadPerfData . loadTime ) ; results . push ( loadPerfData . loadTime ) ; } results . sort ( ( a , b ) => a - b ) ; const median = results [ ~ ~ ( results . length / 2 ) ] ; echo ( "" ) ; echo ( "  Load Performance median:  %dms" , median ) ; echo ( "" ) ; }
Run the load performance for eslint
@returns {void}
@private
Run the load performance for eslint