The following table gives the overview of reported optimizations, where the Optimization Pattern number corresponds to the value of ID column in Table 4 of paper: Performance Issues and Optimizations in JavaScript: An Empirical Study. Function column denotes optimized code location/s.
Optimization Pattern | Library | Function | Pull Request | Status |
---|---|---|---|---|
7 | Moment | isDate | moment/moment#2257 | Accepted |
7 | Moment | isArray | moment/moment#2958 | Accepted |
7 | Less.js | expect | less/less.js#2804 | Accepted |
1 | Ember.js | keys | emberjs/ember.js#12950 | Accepted |
1 | Ember.js | MixinPrototype.keys | emberjs/ember.js#12950 | Accepted |
1 | Socket.io | Server.prototype.adapter | socketio/socket.io#2432 | Pending |
3 | EJS | capitalize, downcase, upcase, truncate, truncate_words, replace | tj/ejs#216 | Pending |
2 | EJS | parse | tj/ejs#216 | Pending |
2 | Angular.js | $SnifferProvider | angular/angular.js#13952 | Accepted |
8 | Angular.js | ngClassWatchAction | angular/angular.js#13952 | Accepted |