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


Quelle  download_test.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/testing/raptor/browsertime/utils/download_test.html


<!DOCTYPE html>
<html>
  <head>
    <title>Download test</title>
    <style>
      html {
        font-family: neo-sans;
        font-weight: 700;
        font-size: calc(42rem / 16);
      }
      body {
        background: white;
      }
      section {
        border-radius: 1em;
        padding: 1em;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
      }
    </style>
  </head>
  <body>
    <section>Download test</section>
    <button id="downloadBtn">Download Test</button>
    <p id="download_status"></p>
    <script>
      let download_status = "";

      function set_status(status) {
        download_status = status;
        console.log("download_status:" + status);
        document.getElementById("download_status").textContent = status;
      }

      set_status("not_started");

      const handleDownloadTest = () => {
        set_status("started");
        const startTime = performance.now();
        fetch("/upload-test-32MB.dat")
          .then((response) => response.blob())
          .then((_) => {
            const endTime = performance.now();
            const downloadTime = endTime - startTime;
            set_status("success time:" + downloadTime);
          })
          .catch((error) => {
            console.error(error);
          });
      };
      document
        .querySelector("#downloadBtn")
        .addEventListener("click", handleDownloadTest);
    </script>
  </body>
</html>

Messung V0.5
C=97 H=99 G=97

¤ Dauer der Verarbeitung: 0.14 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