Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  browsertime_tp6_bench.js   Sprache: JAVA

 
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


/* eslint-env node */

const { logTest } = require("./utils/profiling");

module.exports = logTest(
  "browsertime pageload benchmark",
  async function (context, commands) {
    let urlstr = context.options.browsertime.url;
    const parsedUrls = urlstr.split(",");

    let startTime = await commands.js.run(
      `return performance.timeOrigin + performance.now();`
    );
    for (let count = 0; count < parsedUrls.length; count++) {
      context.log.info("Navigating to url:" + parsedUrls[count]);
      context.log.info("Cycle %d, starting the measure", count);
      await commands.measure.start(parsedUrls[count]);
    }

    let endTime = await commands.js.run(
      `return performance.timeOrigin + performance.now();`
    );

    context.log.info("Browsertime pageload benchmark ended.");
    await commands.measure.add("pageload-benchmark", {
      totalTime: endTime - startTime,
    });
    return true;
  }
);

Messung V0.5
C=93 H=97 G=94

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge