question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Very poor performance on high resolution (5k)

See original GitHub issue

I have a viewer in which I navigate using fitBounds. It behaves perfectly until I put it on a 5k screen, then it becomes very laggy, it seems to take very long to load. Any idea why does it become really laggy and how could I avoid this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
iangilmancommented, Feb 26, 2019

@differenceclouds You should be able to disable most animation by using animationTime: 0 in your viewer options.

Does Safari have an FPS meter like Chrome does? I’d love to hear what you find on the performance front.

1reaction
jetic83commented, Nov 18, 2017

I also experienced some slowniness on larger screens, but it is really a complex question. Some sources of perfomance issues can be:

  • the size itself needs more tiles to be loaded. But a browser only allows 4 or 6 concurrent connections to one server. So some tiles start to have to wait for download. You can see that well with Chrome‘s network inspection.
  • overlays on OSD (also e.g. fabricjs) slow down at many objects (many can be a low number, such as 10, 20, 30). But a larger screen displays more objects. Are your divs overlays?

Profiling is a good way to identify what is exactly slow. WebGL really sounds highly interesting. But it seems to be complicated too, otherwise people would have implemented it already.

I am in the stage where I want to optimize the experience too, but it is surprisingly smooth on a fullscreen Surface Studio, Edge, win 10, while it is much slower on a Desktop machine, Chrome, win 7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac mini 2018 bad UI-performance with LG 5K-Display
Hi, got a new Mac mini (Core i3, 8 GB RAM, 512 GB) a few days ago and I ... The Display is...
Read more >
Terrible performance on iMac 5K - Adobe Support Community
My biggest problems are in the library view mode, I cant browse through my photos without heavy lag and wait times. Also, the...
Read more >
Why Retina resolution so bad slow!?!? - Apple Community
a resolution on 1080p is 1920x1080, 5K is 5120x2880, it has 14.7 more pixels the GPU has to account for, refresh and keep...
Read more >
Performance issues in pixel preview on 5K retina screen
When working in pixel preview mode on the retina screen of my iMac, the scrolling and zooming in Illustrator are very laggy.
Read more >
Poor display performance using Fusion 360 on a high ...
Resolution is too low so toolbar icons are small, or text is blurry. Environment: High-resolution display or 4k/5k resolutions. Solution: Revise ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found