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

FPS is dropping on macbook pro #97

Open
Dhyey opened this issue Jan 5, 2017 · 1 comment
Open

FPS is dropping on macbook pro #97

Dhyey opened this issue Jan 5, 2017 · 1 comment
Assignees

Comments

@Dhyey
Copy link

Dhyey commented Jan 5, 2017

Hi I am using macbook pro, OS X El Capitan, 8GB RAM, i5 Processor with Intel Iris Graphics 6100 1536 MB.

When I use your spherical panorama example and measure FPS in chrome, it is dropping very frequently.(See the screenshot)
fps dropping with react and redux

However, in threejs example, which follows very much the same structure and logic except for react and redux packaging, has very steady 60FPS on the same system and browser.
(visit https://threejs.org/examples/webgl_panorama_equirectangular.html)

It would be great if we can make this library perform similar to original threejs library.

@Izzimach Izzimach self-assigned this Jan 5, 2017
@Izzimach
Copy link
Owner

Izzimach commented Jan 5, 2017

Do you mean it's dropping frames? Not sure why that happens. You can try building in production mode and minimizing the code to see if that reduces GC pauses. There isn't one by default since most people will just set that up in their build pipeline.

You can also try to turn off redundant rendering by adding the enableRapidRender:false prop to Scene as described in #29.

Besides that, I dunno. You would need to run a profiler to see where the code is hiccuping and maybe that would provide more info.

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