Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable cheap updated checks for cypher frame #824

Merged
merged 7 commits into from
Sep 12, 2018

Conversation

oskarhane
Copy link
Member

@oskarhane oskarhane commented Sep 7, 2018

Add an updated property to the request object and set that every time it’s updated with new data.
This avoids potential expensive deepEquals checks on every shouldComponentUpdate check.

Seems to speed up rendering of heavy queries by about 20%.

changelog: Improve Cypher result rendering performance

Add `.updated` to the request object and update that every time it’s updated with new data.
This saves us multiple expensive `deepEquals` checks.
@pe4cey pe4cey merged commit 11e486c into neo4j:master Sep 12, 2018
@oskarhane oskarhane deleted the cypher-frame-spike branch September 12, 2018 11:35
myzero1 pushed a commit to myzero1/neo4j-browser that referenced this pull request May 17, 2019
Enable cheap updated checks for cypher frame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants