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

Bug: [v8] antialias=true drastically cuts performance even when idle #10413

Closed
joergplewe opened this issue Apr 3, 2024 · 3 comments
Closed
Labels
🐠 Upstream Bug Bugs due to software below PixiJS in the stack

Comments

@joergplewe
Copy link

Current Behavior

I was investigating for quite a while now why the v8 port of my app runs much slower than v7, while in any lab experiment v8 drastically outperforms v7, especially when idling.

It turns out that antialias: true in Application.init() causes this behavior.

The provided playground runs with ~30fps even in idle mode.

Expected Behavior

When nothing changes in the scenegraph, run with 60FPS as with antialias: false.

Steps to Reproduce

Use https://www.pixiplayground.com/#/edit/RRfYsdhI3eEl1-bQ5KDC6 and look for CUT_PERFORMANCE.

Environment

Possible Solution

No response

Additional Information

No response

@photonstorm
Copy link
Collaborator

photonstorm commented Apr 3, 2024

Solid 60fps for me with antialias: true (M1 iMac, Chrome) using your playground link above.

@joergplewe
Copy link
Author

Hm, I tried on another machine with slightly different results, but still showing the effect.
I increased to CONTENT_COUNT = 400000 in the playground.

@GoodBoyDigital GoodBoyDigital added the 🐠 Upstream Bug Bugs due to software below PixiJS in the stack label Apr 3, 2024
@GoodBoyDigital
Copy link
Member

Hey @joergplewe , antialias is something we don't really have much control over when it comes to optimising its behaviour.
It seems that WebGPU antialiasing is slower than WebGLs at this moment in time. I think the best thing todo here is to switch to WebGL (which is now the default renderer since 8.1.0)

hope this helps! Cheers man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐠 Upstream Bug Bugs due to software below PixiJS in the stack
Projects
None yet
Development

No branches or pull requests

3 participants