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

Performance issues at high zoom #305

Open
richard-uk1 opened this issue Apr 12, 2023 · 1 comment
Open

Performance issues at high zoom #305

richard-uk1 opened this issue Apr 12, 2023 · 1 comment
Labels
Performance Improvements to rendering performance

Comments

@richard-uk1
Copy link
Contributor

At the office hours, we discussed the problem with zooming out and an associated drop in framerate. I'm posting this issues so we have a record of the issue to track.

@nicoburns nicoburns added the Performance Improvements to rendering performance label Apr 12, 2023
@armansito
Copy link
Collaborator

Both zooming in and zooming out result in a drop in frame rate, though these are likely separate issues.

In the zoom out case, the run time of fine increases the most dramatically (I measured 567ms on M1 Pro with paris-30k zoomed out so that the map covers a tiny square). I think this is likely explained by reduced parallelism across workgroups as the entire scene effectively fits within a very small number of tiles and the workgroup size is only 64 for fine.

I see increased runtimes in other stages as well (binning, backdrop, tile_alloc, path_coarse, and coarse all show 25+ ms in the same trace) but the increase is not as dramatic as fine.

Metal capture numbers with paris-30k covering the entire viewport:
trace - good

Metal capture numbers with paris-30k scaled down to a point:
trace - zoomed out

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

No branches or pull requests

3 participants