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

Firefox slow fps using createjs #958

Open
aesha306 opened this issue May 8, 2018 · 2 comments
Open

Firefox slow fps using createjs #958

aesha306 opened this issue May 8, 2018 · 2 comments

Comments

@aesha306
Copy link

aesha306 commented May 8, 2018

I am having a performance issue while using firefox browser on my Windows machine.

Versions Used:
Mozila Firefox : 59.0.3
Createjs : 1.0.0

PC Configuration:
System Type x64-based PC
System SKU LENOVO_MT_80E5_BU_idea_FM_Lenovo G50-80
Processor Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz, 2000 Mhz
Installed Physical Memory (RAM) 4.00 GB
Available Physical Memory 1.04 GB
Total Virtual Memory 8.17 GB
Available Virtual Memory 3.00 GB
Page File Space 4.25 GB
Intel(R) HD Graphics 5500

Running application on firefox results in slow FPS whereas using chrome browser for the same gives no such issue. I am using createjs.stage in my code. Here are some details explained with some screenshots.
capture1

When I disable the 'Use hardware acceleration when available' option (which is enabled by default).
capture2

The framerate increases resulting in better performance.
capture3

Also, when we use hardware acceleration, the GPU percentage of the system increases to 90 to 95%.

@lannymcnie
Copy link
Member

This is going to largely be content-specific. Can you provide an overview of what you are doing content-wise? Large images? Vectors?

@yuta-san
Copy link

yuta-san commented Jan 4, 2025

It might be solved by this

createjs.Ticker.timingMode = createjs.Ticker.RAF_SYNCHED;

when empty setInterval is also slow in your firefox.

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

No branches or pull requests

3 participants