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

Quelle  bug557946.js   Sprache: JAVA

 
// Binary: cache/js-dbg-64-6f1a38b94754-linux
// Flags: -j
//
/* vim: set ts=8 sts=4 et sw=4 tw=99: */

var x = 0;
var y = 0;

function h() {
    if (x == 1)
        y++;
    else
        y--;
}

function F() {
    var m = null;

    function g(i) {
        /* Force outgoing typemaps to have a string. */
        m = "badness";

        /* Loop a bit. */
        for (var i = 0; i < 10; i++) {
            h();
        }
    }

    /* Spin for a while so trees build. */
    for (var i = 0; i < 100; i++) {
        /* Capture m == TT_NULL in outgoing fi for rp[0] */
        g();

        /* Flip the switch to bail out with deep nested frames. */
        if (i > 50)
            x = 1;

        /* Set m = null on the loop tail to get better traces. */
        m = null;
    }
}

F();


Messung V0.5
C=78 H=74 G=75

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