Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/ion/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 414 B image not shown  

Quelle  new-6.js

  Sprache: JAVA
 

// Enter an Ion constructor via on-stack replacement.

// This gets compiled and called by the interpreter.
// Allocation and primitive check need to happen caller-side.
function Foo() {
 var y = 0;
 for (var i = 0; i < 100; i++)
  { y++ }
 this.x = 5;
 return y;
}

eval("//nothing"); // Prevent compilation of global script.

for (var i = 0; i < 100; i++) {
 var x = new Foo();
 assertEq(typeof(x), "object");
}

Messung V0.5 in Prozent
C=88 H=90 G=88

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.