Skip to content

Commit a38a8db

Browse files
Update Description.md
1 parent 6bb5d7a commit a38a8db

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Description.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ The following table gives an overview of studied performance issues and their ro
3737
7759 (9)| Angular | document.window has reference to itself, for checking window property of document use this, instead of checking location and document | Inefficient API usage |
3838
7759 (11)| Angular | Always use .textContext property access instead of .innerText in some cases | Inefficient API usage |
3939
10351 | Angular | Instead of setter method use getter.assign | Inefficient API usage |
40+
4263 | Ember | Use document.contains to see if element exist in DOM instead of looping DOM tree | Inefficient API usage, API reimplementation |
41+
4329 (1) | Ember | Avoid for in, for checking object property use direct access | Repeated checks |
42+
4329 (3) | Ember | Use internalized keys for accessing object properties | Other |
43+
4329 (4) | Ember | Reduce usage of indexOf, it is considered as an expensive function| Other |
44+
5547 | Ember | Move try catch block in code-critical part | JIT unfriendly |
45+
9991 | Ember | Instead of indexOf(has_this) use lastIndexOf (has_this,0). The prefix has_this is always 'this.' and matches the access of properties like: this.bar | Inefficient API usage
46+
4158 | Ember | When retriving the unique id of the object (method guideFor) first check is it defined. If it is not defined, then generate new one and assign as: obj[prop]=value | Inefficient API usage |
47+
11338 | Ember | Avoid for in loop, use Object.keys | Inefficient iteration |
48+
3174 | Ember | Avoid console.assert, the condition that checks whether the assert should be called is inserted | Inefficient API usage, Repeated checks, Special cases|
49+
3288 | Ember | Use Ember.ArrayPolyfills.indexOf insteadOf Ember.EnumerableUtils.indexOf | Inefficient API usage |
50+
5212 | Ember | Caching computed properties of the object, since they are almost never changed | Inefficient iteration, Repeated execution |
51+
3665 | React | Use undefined===obj[prop] check instead of hasOwnProperty | Inefficient API usage |
52+
934 | React | Simplified generation of node id | Inefficient API usage, Repeated checks |
53+
808 | React | Use textContent instead of innerHtml | Inefficient API usage |
54+
1885 | React | Use RegExp test instead of several indexOf | Inefficient API usage, Generic API |
55+
56+
57+
58+
59+
4060

4161

4262

0 commit comments

Comments
 (0)