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. # Reported optimizations (RQ5) | Optimization Pattern | Library | Function | Pull Request | Status | | --- | --- | --- |--- | --- | | 7 | Moment | isDate | https://github.com/moment/moment/pull/2257 | Accepted | | 7 | Moment | isArray | https://github.com/moment/moment/pull/2958 | Accepted | | 7 | Less.js | expect | https://github.com/less/less.js/pull/2804/ | Accepted | | 1 | Ember.js | keys | https://github.com/emberjs/ember.js/pull/12950 | Accepted | | 1 | Ember.js | MixinPrototype.keys | https://github.com/emberjs/ember.js/pull/12950 | Accepted | | 1 | Socket.io | Server.prototype.adapter | https://github.com/socketio/socket.io/pull/2432| Pending | | 3 | EJS | capitalize, downcase, upcase, truncate, truncate_words, replace | https://github.com/tj/ejs/pull/216| Pending | | 2 | EJS | parse | https://github.com/tj/ejs/pull/216| Pending | | 2 | Angular.js | $SnifferProvider | https://github.com/angular/angular.js/pull/13952| Accepted | | 8 | Angular.js | ngClassWatchAction | https://github.com/angular/angular.js/pull/13952| Accepted |