Skip to content

Freeze when huge data in terminal #106391

Closed
Closed

Description

@smallp

Issue Type: Performance Issue

for x in range(80000):
    print('a',end='')

Run it in terminal, and then you'll find CPU usage is 100 and vscode freeze.

VS Code version: Code 1.48.2 (a047975, 2020-08-25T10:09:08.021Z)
OS version: Darwin x64 18.6.0

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (8 x 2400)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled|

Activity

  1. Tyriar commented on Sep 10, 2020

    @Tyriar
    Contributor

    /duplicate #74620

  2. added
    *duplicate
    on Sep 10, 2020
  3. locked and limited conversation to collaborators on Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions