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

about transplant.. #27

Open
lysgg opened this issue Feb 22, 2016 · 3 comments
Open

about transplant.. #27

lysgg opened this issue Feb 22, 2016 · 3 comments

Comments

@lysgg
Copy link

lysgg commented Feb 22, 2016

Hello God, I've transplanted your project to android,but it runs very slowly every frame takes 80 milliseconds.
It can be full frame running on PC
Is the Java jvm on the mobile phone system so much worse than the PC?

@magneticflux-
Copy link
Contributor

In Android, virtual method calls require significant overhead. That could explain some of what is going on. In general though, android devices are slower and require more optimization. I believe that this emulator is more focused on accuracy. There are other emulators that are more inaccurate, but faster.

@lysgg
Copy link
Author

lysgg commented Feb 23, 2016

oh,other simulator most written by c/c++,them have no challenge.
i think add the frame skip method and hold the ppu and apu class methods set at static and final maybe it can run faster.

@magneticflux-
Copy link
Contributor

@lysgg That is possible. Have you conducted benchmarks with the headless version to see whether it is the rendering code or the actual CPU? And are you running it on an emulator?

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