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

very slow ui response if caption is set to property containing long string values #927

Closed
if6was9 opened this issue May 3, 2019 · 2 comments

Comments

@if6was9
Copy link

if6was9 commented May 3, 2019

Description

When the browser happens to choose a property for the caption that have large string values,
the performance of the UI becomes nearly unusable.

Reproduce Steps

Set the caption for a given label to a property that will contain long string values. (1k)
Select some nodes with that large string value.

Expected Behavior

UI should perform reasonably.

Current Behavior

UI becomes exceptionally slow and CPU usage spikes.

Can you propose a solution?

I don't know precisely what is going on internally. But captions are useless beyond a very small
number of characters anyway. So perhaps the values could be trimmed off and this problem would go away.

Note that "Don't do that" would be a semi-acceptable solution except that Neo4j chooses these captions initially, so users can have this end up happening to them.

Your Environment

Mac + Chrome

Mac Safari and Mac Firefox do not exhibit the problem.

Additional Information

This was a tricky problem to track down. I had "solved" it previously by nuking the Local Storage in chrome. But I believe this ended up being an accidental fix because it reset the browser preferences and the caption labels reset to other properties.

@oskarhane
Copy link
Member

Thanks for reporting this @if6was9! I'll make sure we look into this soon.

@OskarDamkjaer
Copy link
Contributor

Not "soon" per se but we should have sorted this issue out with #1429 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants