Skip to content

Commit 80ad18e

Browse files
committed
feat(Test): add performance analysis.
1 parent 64bd14b commit 80ad18e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/__test__/Test.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: saber2pr
33
* @Date: 2019-12-06 17:41:19
44
* @Last Modified by: saber2pr
5-
* @Last Modified time: 2019-12-10 20:37:43
5+
* @Last Modified time: 2019-12-11 20:41:15
66
*/
77
import React from ".."
88
import ReactDOM from "../client"
@@ -85,5 +85,8 @@ const App = () => {
8585
)
8686
}
8787

88+
// if need analysis the performance.
89+
// React.Stack.watchStackSize(console.log)
90+
8891
// open '../../index.html' in browser.
8992
ReactDOM.render(<App />, document.getElementById("root"))

0 commit comments

Comments
 (0)