Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/fuses/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 602 B image not shown  

Quelle  htmldda-1.js   Sprache: JAVA

 
function f(x, y, z, a, b, c) {
  let sum = 0;
  sum += x == undefined ? 1 : 0;
  sum += y == undefined ? 1 : 0;
  sum += z == undefined ? 1 : 0;
  sum += a == undefined ? 1 : 0;
  sum += b == undefined ? 1 : 0;
  sum += c == undefined ? 1 : 0;
  return sum;
}

let iters = 500;
function test(x) {
  let count = 0;
  let [y, z, a, b, c] = [{}, {}, {}, {}, {}];
  for (let i = 0; i < iters; i++) {
    count += f(x, y, z, a, b, c) ? 1 : 0;
  }
  return count;
}

let count = test({});
assertEq(count, 0);

// pop fuse, and run test again.
x = createIsHTMLDDA();
count = test(x);

assertEq(count, iters);

Messung V0.5
C=97 H=60 G=80

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