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

Low performance on c++ target #16

Open
posxposy opened this issue Oct 2, 2014 · 4 comments
Open

Low performance on c++ target #16

posxposy opened this issue Oct 2, 2014 · 4 comments

Comments

@posxposy
Copy link

posxposy commented Oct 2, 2014

Hi there!
I got a very low performance on windows target.

Intermediate_PerelithKnightMD2 example works with 40-50 fps on flash and 10-15 fps with windows target.
Why is it so slow? Because openfl openglview has a low performance?

Sorry for my English, please.

@Greg209
Copy link
Member

Greg209 commented Oct 2, 2014

Hi,

At the moment, I get 25-30fps in Flash and 20-25 on native (a Mac) so there are performance issues which I've not yet got to the bottom of. Performance does certainly need investigating and is on the list TODO.

One thing you can perhaps try is to do a non-debug build e.g. lime test windows

That'll strip out the debugging code which does impede performance - but I suspect it won't get faster than the Flash atm :(

@posxposy
Copy link
Author

posxposy commented Oct 2, 2014

I think, that trouble with openfl and openglview.
With openglview I draw 1600 boxes stable with 60 fps. And 10000 boxes with 10 fps.
And this is a very simple scene: just a texture on the every box and nothing else.
So it's a very slow as for low level api:(

@posxposy
Copy link
Author

posxposy commented Oct 3, 2014

You can test my simple gl scene too, if interesting:
https://www.dropbox.com/s/ubuki7uwn0fzjcx/gl_demo.rar?dl=1

@Greg209
Copy link
Member

Greg209 commented Oct 24, 2014

Yes, I get the performance slow down as the number of boxes increases. Any chance you could post the sources somewhere rather than me re-create the example - would save me a bit of time. Thanks

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

2 participants