Skip to content

Running build task in Code approximately 50% slower than in terminal #7353

Closed

Description

@spongessuck
  • VSCode Version: 1.2.0
  • OS Version: Windows 7

Steps to Reproduce:

  1. Run build task in Code (i.e. gulp dist)
  2. Run same command in cmd.exe (or integrated terminal)

Expected result:

  • Tasks should take about the same amount of time

Actual result:

  • Build task takes ~20 seconds to finish in Code, while it takes ~13 seconds in terminal.

Activity

  1. dbaeumer commented on Jun 8, 2016

    @dbaeumer
    Member

    spongessuck do you have problem matchers installed in your task? Does the task produce lots of output. We are aware of the fact that task with lots of output run slower due to rendering the text in the output panel.

  2. added
    tasks
    bug
    on Jun 8, 2016
  3. spongessuck commented on Jun 8, 2016

    @spongessuck
    Author

    I don't have any problem matchers and the task doesn't produce a lot of
    output- maybe 25 lines total or so.

    On Wed, Jun 8, 2016, 4:02 AM Dirk Bäumer [email protected] wrote:

    spongessuck https://github.com/spongessuck do you have problem
    matchers installed in your task? Does the task produce lots of output. We
    are aware of the fact that task with lots of output run slower due to
    rendering the text in the output panel.

    —
    You are receiving this because you were mentioned.
    Reply to this email directly, view it on GitHub
    #7353 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe/AGE0TnZWpxibaBWe3kXHroqbYlg3Oqoiks5qJnclgaJpZM4IwTxq
    .

  4. dbaeumer commented on Nov 7, 2017

    @dbaeumer
    Member

    I did some measurements using the new terminal runner and here is the outcome

    • executing vscode compile script in a outside terminal => 84 seconds
    • executing vscode compile script in the integrated terminal => 92 seconds
    • executing the vscode compile script in the integrated terminal as a task => 157 seconds :-(

    Looking into this the time is spend in the spinner animation. I removed the animation since it adds no value. Without the animation there is no time difference between the task and the integrated terminal.

  5. added a commit that references this issue on Nov 7, 2017
    8bf5e26
  6. added
    verified
    on Dec 6, 2017
  7. locked and limited conversation to collaborators on Dec 22, 2017
  8. added a commit that references this issue on Sep 6, 2026
    83b31a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugtasksverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions