Huge performance differences WRT tasks.json
See original GitHub issueI have been using a tasks.json
file in VS Code to compile my app and it looks like this:
{
"version": "0.1.0",
"command": "asconfigc",
"isShellCommand": true,
"args": [
"--sdk=/Apache/royale-asjs"
],
"showOutput": "always"
}
When I compile with "debug": false
in my asconfig.json, I’m getting about a 36 second compile time in my app (about 10 seconds with "debug": true
).
When I remove the tasks.json
file and let VS Code compile using the internal version of asconfigc, I’m getting about 80 second compile times for release. This is using the exact same asconfig.json
file. It’s interesting to note that the build times when running an ant script is similar to the build times when I don’t have a tasks.json file defined. This makes me wonder if running the compiler from Java somehow slows down builds.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Tasks in Visual Studio Code
Integrate with External Tools via Tasks. Lots of tools exist to automate tasks like linting, building, packaging, testing, or deploying software systems.
Read more >NER Labelling: UI Performance issues with large tasks.json ...
When tasks.json is a larger file (>300KB), with approximately 6*60KB input texts, the UI responds very slowly. It takes about ~1-2 tasks just...
Read more >Python vs Bash - In which kind of tasks each one outruns the ...
Performance. It depends on which programs the Bash shell script calls and their suitability for the subtask they are given whether the overall...
Read more >IIS worker process: High CPU usage (Expert guide)
Is your IIS worker process experiencing poor performance due to high CPU usage? ... MVC action parameter binding, or serializing large JSON responses....
Read more >Amazon RDS FAQs | Cloud Relational Database
There are important differences between these alternatives that may make one ... Amazon RDS automates the manual networking set up tasks such as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s certainly possible that starting up two instances of the JVM is slower. You could set nextgenas.asconfigc.useBundled to false, and it will use the Node version instead. This will probably perform similarly to your tasks.json.
If VSCode ever adds the ability to run a “command” as a task, I’ll be able to run asconfigc from the already running language server. It shouldn’t require starting Node or Java, so it should be faster than both.
@Harbs I just discovered that you can customize the
terminal.integrated.scrollback
setting in VSCode to keep a longer terminal history.