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

Quelle  bug2014901.js  Sprache: unbekannt

 
var objs = [{x: 1}, {x: 1, y: 2}];
function inlined(i) {
  // Polymorphic to force trial inlining.
  return objs[i & 1].x;
}
function callFunction(f, arg) {
  f(arg);
}
function recurse(depth) {
  if (depth > 30) {
    // Trigger trial inlining of the callFunction => inlined call.
    for (var i = 0; i < 1000; i++) {
      callFunction(inlined, i);
    }
  } else {
    callFunction(recurse, depth + 1);
  }
  if (depth % 15 === 0) {
    gc(this, "shrinking");
  }
}
recurse(0);
recurse(0);

Messung V0.5 in Prozent
C=92 H=82 G=86

[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-09-30]