Skip to content
This repository has been archived by the owner on Dec 9, 2017. It is now read-only.

ChainedAnalyses2 adds significant slowdown #73

Open
msridhar opened this issue Aug 11, 2014 · 0 comments
Open

ChainedAnalyses2 adds significant slowdown #73

msridhar opened this issue Aug 11, 2014 · 0 comments

Comments

@msridhar
Copy link
Contributor

ChainedAnalyses2 adds significant slowdown due to this code:

fun = self[field] = function () {
    try {
        var ret1;
        var thisFun = arguments.callee;
        var len = thisFun.afs.length;
        var args = Array.prototype.slice.call(arguments, 0);
        for (var i = 0; i < len; i++) {
            ret1 = thisFun.afs[i].apply(thisFun.afThis[i], args);
        }
        return ret1;
    } catch (e) {
        clientAnalysisException(e);
    }

};

This needs to be sped up for ChainedAnalyses2 to be used in any performance-critical instrumentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant