Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Conversation

qingweibinary
Copy link
Contributor

@qingweibinary qingweibinary commented Aug 29, 2016

@borisyankov

Profiling on macbook I am using does not show significant difference, although number of render is reduce a whole lot. Time taken and profile chart both are close

each render spent more than 80% of CPU time in binary, maybe that's a better place to optimize

Note: This is for discussion, do not merge unless you're sure ;)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 32.155% when pulling bdab21a on qingweibinary:qingwei/debug_perf into e78392b on binary-com:master.

@borisyankov
Copy link
Contributor

each render spent more than 80% of CPU time in binary

What does that mean? :)

@qingweibinary
Copy link
Contributor Author

@borisyankov typo

in binary-charts

@borisyankov
Copy link
Contributor

Hmmm...
I do know why we don't see that much improvement ;(


shouldComponentUpdate(nextProps) {
const hasNotEq = Object.keys(this.props).some(k => {
if (JSON.stringify(this.props[k]) !== JSON.stringify(nextProps[k])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not fast.

@qingweibinary qingweibinary deleted the qingwei/debug_perf branch September 26, 2016 07:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants