Skip to content

Commit efb2c15

Browse files
Update Description.md
1 parent 349a513 commit efb2c15

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Description.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ The following table gives an overview of studied performance issues and their ro
8787
385 | Cheerio | Check more on what proposed function do, but the idea is to switch to another, cheaper function call | Inefficient API usage |
8888
369 (5)| Cheerio | Inline object lookup | Inefficient API usage, Inefficient/Redundant copying |
8989
369 (8)| Cheerio | Avoid recomputing value that will be reused | Repeated execution |
90+
27a | Chalk | Don't concatenate the arguments into string with slice.join if there is only one argument. In latter case use explicit string concatenation | Inefficient API usage, Generic API, Special cases |
91+
27b | Chalk | Precomputed style function. Merge multiple return statements to one | Other |
92+
28 | Chalk | Replace Array.prototype.reduce() with explicit for loop | Inefficient iteration |
93+
701 | Mocha | Use instanceof where supported instead of toString.call(err) === "[object Error]" | Inefficient API usage |
94+
763 | Mocha | The first commit is using Object.keys where possible instead of checking each property of the object | Inefficient API usage, API reimplementation, Inefficient/Redundant copying |
95+
403 | Request | Computation from the if is moved to a global variable, so it is done only once | Repeated execution, Repeated checks |
96+
1165 | Request | Remove everything from init() method that is not related to request initialization | Repeated execution |
97+
573 | Socket.io | Optimized switch, the most common cases are checked first | Other |
98+
689 | Socket.io | Combine two substring calls into one | Inefficient API usage, Inefficient/Redundant copying |
9099

91100

92101

0 commit comments

Comments
 (0)