Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Load Performance (Need profiler info) #117

Closed
essial opened this issue Nov 8, 2019 · 3 comments
Closed

Load Performance (Need profiler info) #117

essial opened this issue Nov 8, 2019 · 3 comments
Labels
Bug Something isn't working Help Wanted Extra attention is needed

Comments

@essial
Copy link
Member

essial commented Nov 8, 2019

On my machine (tm) the game boots to the main menu in about 1.5 seconds, but for some people we've seen between 10 seconds to a full minute to load. I need profiler outputs attached so I can trace this speed issue down. It's hard for me to fix as I do not have this issue.

@essial essial added Bug Something isn't working Help Wanted Extra attention is needed labels Nov 8, 2019
@davidsbond
Copy link

Hey @essial, I've used ebiten a bit so might be able to help out. Does this issue occur when people are running the precompiled binary? Or is it only occurring when doing go run?

Having used ebiten in the past I've noticed that initial builds can take up to a minute due to the reliance on C bindings, after the initial build, subsequent runs/builds go much faster.

@essial
Copy link
Member Author

essial commented Nov 9, 2019

We're talking about raw load times. I actually spent half of friday talking directly with hajimehoshi and we've determined that creating a bunch of tiny images causes ebiten to spam a lot of openGL calls. The temporary workaround is to manually construct an atlas, but that's created a new problem where some atlases may be too big. For this ticket I'm just collecting raw metrics as it has always ran fast for me, but I have really high PC specs and a stupidly fast hard drive.

@mewmew
Copy link
Contributor

mewmew commented Nov 10, 2019

For this ticket I'm just collecting raw metrics as it has always ran fast for me, but I have really high PC specs and a stupidly fast hard drive.

@essial I can send you one of my old and incredibly slow laptops if you want something to test with :p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Help Wanted Extra attention is needed
Projects
Game Client
  
Awaiting triage
Development

No branches or pull requests

3 participants