Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not check if the node itself has effects when checking call effects,
- Loading branch information
1 parent
4ba9054
commit 43ed3c8
Showing
3 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
test/function/samples/nested-property-call-performance/_config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
description: 'handles nested property calls with acceptable performance' | ||
}; |
43 changes: 43 additions & 0 deletions
43
test/function/samples/nested-property-call-performance/main.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
assert.equal( | ||
'u' | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat('') | ||
.concat(''), | ||
'u' | ||
); |