Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

High kernel_task CPU usage running SoundCloud on macOS #503

@hrdwdmrbl

Description

@hrdwdmrbl

Description

While running an application created with Nativefier, specifically in this case the website Soundcloud.com, after continued use I get sustained high CPU load from the application and from the mac kernel_task process. High load would be 30-50% on my Macbook Pro.
I think the problem is likely some unfortunate interaction between the Soundcloud code, nativefier and maybe the Mac OS.

Steps to reproduce issue

These steps are a bit fuzzy, since it's not a specific error. There are likely many ways to reproduce the error

  1. Create an app from Soundcloud.com and start playing any track.
  2. Scroll down a page that has infinite scroll. Scroll for a long time. The "Discover" page on list view should be good.
  3. Navigate to another page, perhaps an artist page.
  4. Return to the "Discover" page and scroll again.

After just doing this, I now have 18-25% CPU from two "helper" processes and around 17-20% CPU from kernel_task. This is sustained. And it can get much worse. The only fix is to restart the app.

Details

  • Are you nativefying a public website?

Yes, soundcloud.com

  • Full nativefier command used to build your app: <command here>

nativefier soundcloud.com

  • Version of Nativefier (run nativefier --version): v0.0.0

7.4.1

  • Version of node.js (run node --version): v0.0.0

8.9.0

  • OS: <OS here>

OSX 10.13.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions