Skip to content

run project(with forever block) causes high CPU usage in Chrome #1846

Open
@MaggieLu

Description

@MaggieLu

Expected Behavior

Lower CPU usage in browser when running a project with a forever block

Actual Behavior

When running a project which contains a forever block and few other blocks, the CPU usage is always around 80%. At the same time, if I do other actions (e.g. switch sprites, switch block categories in the toolbox), the CPU usage can be higher than 95%. (It reaches 100% once occasionally, which make the browser crashes... )

99d8457038a5ca84a69092388576f8c

52fec941da09c8396b0ddc5b348713c

Steps to Reproduce

  1. Open Chrome performance monitor;
  2. Drag following blocks:
    image
  3. Click green flag;
  4. Switch block categories or switch sprites

Operating System and Browser

Windows10 Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions