var callStack = []; function currentFunc() { return callStack[0];
} function reportFailure () { var funcName = currentFunc(); // play with the result to cause a SEGV. var prefix = (funcName) ? funcName : ""; // Use OSR to compile the function at the end of the first run. for (var i=0; i < 50; i++) ;
}
callStack[0] = 'test'; // Run and compile with a string as result of currentFunc.
reportFailure();
callStack[0] = undefined; // Use previously compiled code with the string assumption.
reportFailure();
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
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.