Closed BurkusCat closed 2 years ago
Comment out tickRelationshipOutlines(); in neo4jd3.js like this:
tickRelationshipOutlines();
neo4jd3.js
tickRelationshipsTexts(); //tickRelationshipsOutlines(); tickRelationshipsOverlays();
This removes other bottlenecks. Compare the performance of dragging around icons before vs after this change.
Before (75ms total task time~, around 50ms is compositing):
After (25ms total task time~, around 1ms is composting):
Reference: https://stackoverflow.com/a/40533907/3991315
Improves #8
How to test
Comment out
tickRelationshipOutlines();
inneo4jd3.js
like this:This removes other bottlenecks. Compare the performance of dragging around icons before vs after this change.
Before (75ms total task time~, around 50ms is compositing):
After (25ms total task time~, around 1ms is composting):
Reference: https://stackoverflow.com/a/40533907/3991315