Created
July 22, 2015 20:42
-
-
Save gskachkov/c78654184666d24ac121 to your computer and use it in GitHub Desktop.
JSC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/Developer/Projects/Webkit2/WebKitBuild/af_rebase3/Debug/jsc --useFTLJIT\=false --enableFunctionDotArguments\=true --validateGraph\=true --useFTLJIT\=true --ftlCrashesIfCantInitializeLLVM\=true --enableConcurrentJIT\=false --thresholdForJITAfterWarmUp\=100 --thresholdForJITAfterWarmUp\=10 --thresholdForJITSoon\=10 --thresholdForOptimizeAfterWarmUp\=20 --thresholdForOptimizeAfterLongWarmUp\=20 --thresholdForOptimizeSoon\=20 --thresholdForFTLOptimizeAfterWarmUp\=20 --thresholdForFTLOptimizeSoon\=20 --maximumEvalCacheableSourceLength\=150000 -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
var obj = {
name:'obj',
method: function () {
var f = (value) => this.name + "-name-" + value;
return f;
}
};
noInline(obj.method);
debug('1')
for(var i=0;i<10;i++) obj.method()();
debug('2')
for(var i=0;i<100;i++) obj.method()();
debug('3')
for(var i=0;i<1000;i++) obj.method()();// Exception - Trace/BPT trap: 5
debug('4')
for(var i=0;i<10000;i++) obj.method()();
debug('5')
for(var i=0;i<100000;i++) obj.method()();