Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace generic
__clone
call by specific methods (#13611)
* update benchmark babel parser version * perf: replace generic __clone by specific methods baseline 256 length-1 named export: 4_704 ops/sec 卤1.59% (0.213ms) baseline 512 length-1 named export: 2_426 ops/sec 卤0.52% (0.412ms) baseline 1024 length-1 named export: 1_118 ops/sec 卤1.23% (0.895ms) baseline 2048 length-1 named export: 556 ops/sec 卤0.77% (1.799ms) current 256 length-1 named export: 7_073 ops/sec 卤33.67% (0.141ms) current 512 length-1 named export: 4_441 ops/sec 卤0.79% (0.225ms) current 1024 length-1 named export: 2_142 ops/sec 卤1.09% (0.467ms) current 2048 length-1 named export: 943 ops/sec 卤2.12% (1.06ms) * breaking: remove Node#__clone in Babel 8 * test: use t.cloneNode
- Loading branch information
Showing
8 changed files
with
72 additions
and
20 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
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
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
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
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
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
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
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