question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PixiJS slow on Chrome@Android devices

See original GitHub issue

Expected Behavior

  • Fluid animations (60fps or as near as possible to 60fps).

Current Behavior

  • Laggy animations on Chrome at Android devices. Tested with multiple smartphones running android with Chrome at latest version.

  • Works fine on PC or with Firefox on Android.

Possible Solution

  • Not known yet

Steps to Reproduce

  1. Click on play button
  2. As soon as the song stars, a sound analyser should be presented in the page
  3. On Android Devices running Chrome, the animation is quite laggy; While on PCs or with Android Devices running Firefox, the animations shows smoothly.

Environment

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
LeifRosscommented, Jun 9, 2020

@ivanpopelyshev I Came across this comment on complete accident, however, I did notice the same thing with a slowdown in chrome for android when debugging a few weeks back. It appears to happen when rendering anything rounded after a few seconds from init. The animation was a smooth 60FPS. however, the second something rounded was rendered on a graphic object, either a arc, a circle or a rounded rectangle, the context dropped down to 15-24FPS and started lagging. Replacing the rounded object with a regular rectangle in later tests did not trigger the lag, and rendering a rounded graphic when the animation was starting did also not trigger the lag. Nothing sort of resetting the entire context after the lag has started fixes the issue. This happens on chrome, edge and firefox on android phones, but is not triggered on android tablets. Almost feels like the context is forced into some sort of power saving mode.

0reactions
stale[bot]commented, Sep 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PixiJS slow on Chrome@Android devices · Issue #6577 - GitHub
Laggy animations on Chrome at Android devices. Tested with multiple smartphones running android with Chrome at latest version. Works fine on PC ...
Read more >
Mobile Chrome Slow Performance - Pixi.js
HiI've being making games with pixi for a quite timeAnd now when I've moved from pixi 2 to pixi 3.0 I got super...
Read more >
pixijs very slow in mobile compared to css - Stack Overflow
While it works great in desktops it's really slower than the same slide+animations made with pure css in mobile devices (where by the...
Read more >
Photon Storm
On average 3x slower than mobile browser ... Device scaling - Viewport management, mobile scaling, UI removal ... Uses Pixi.js for rendering.
Read more >
Something is definitely up with this benchmark - PixiJS can ...
We can conclude that Pixi.js is probably faster for drawing sprites, but is definitely slower than Two.js at drawing randomly sized rectangles.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found