Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve xterm.js performance #17875

Closed
10 tasks done
Tyriar opened this issue Dec 28, 2016 · 6 comments
Closed
10 tasks done

Improve xterm.js performance #17875

Tyriar opened this issue Dec 28, 2016 · 6 comments
Assignees
Labels
plan-item VS Code - planned item for upcoming
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Dec 28, 2016

There are a few improvements needed in xterm.js to improve terminal performance

@nirmaljpatel
Copy link

I am using VSCode as IDE for Appcelerator App development. I compile and run the project using a Grunt build task which in turn uses grunt-shell to invoke a CLI command: appc run.
The output is directed to console. If I turn on high level of logs output, the terminal process stops with following error msg:

Warning: stderr maxBuffer exceeded Use --force to continue.
Aborted due to warnings.
Execution Time (2017-01-27 16:00:19 UTC-6)
loading tasks       902ms  ▇ 2%
shell:appc-run-sim  43.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 98%

The expectation would be the console should keep running showing the messages directed at it.
I tried specifying maxBuffer to the shell command (via grunt). This did increase the amount of logs before this error appeared. When set to 20MB, the entire Code IDE froze.

@Tyriar
Copy link
Member Author

Tyriar commented Jan 27, 2017

@nirmaljpatel what version are you on?

@nirmaljpatel
Copy link

Code Version 1.8.1 (1.8.1)
MacOS Sierra (10.12.2)

@Tyriar
Copy link
Member Author

Tyriar commented Jan 27, 2017

@nirmaljpatel next version January/1.9.0 fixes the performance issues. You can try it out now with https://code.visualstudio.com/insiders

@nirmaljpatel
Copy link

nirmaljpatel commented Jan 27, 2017

On this newer version, I still faced the same issue.

Warning: stderr maxBuffer exceeded Use --force to continue.
Aborted due to warnings.
Execution Time (2017-01-27 16:08:30 UTC-6)
loading tasks       565ms  ▇ 2%
shell:appc-run-sim  29.9s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 98%
Total 30.5s

However, after specifying the maxBuffer for grunt-shell, the output is running fine so far.

execOptions: {
	maxBuffer: 1000 * 1000 * 10
}

@Tyriar
Copy link
Member Author

Tyriar commented Jan 27, 2017

Sounds like an issue with grunt-shell?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plan-item VS Code - planned item for upcoming
Projects
None yet
Development

No branches or pull requests

2 participants