Core and Extensions Are Extremely Slow to Load
See original GitHub issueVersions
Autorest version: 3.0.6187 Node version: 12.18.1 @autorest/core: 3.0.6302 @microsoft.azure/autorest.csharp: 2.3.82 @microsoft.azure/autorest.modeler: 2.3.47 OS: Windows 10
Current Behavior
Any command including the --csharp
flag spends multiple minutes sitting with the output
AutoRest code generation utility [cli version: 3.0.6187; node: v12.18.1, max-memory: 8192 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Once this extremely long wait is complete messages for the modules loading are printed, following quickly by the output for the actual command.
This behavior occurs even when running the command autorest --csharp --help
Expected Behavior
Loading these modules should only take a few seconds, which was the case for me in the past.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Improve performance if Visual Studio is slow | Microsoft Learn
Solutions load much faster than in earlier versions, with performance ... You might have extensions installed that slow Visual Studio down.
Read more >chrome is very slow to start up, i have minimal extensions ...
I have a very fast PC using Windows 10 on the latest version, with 32gb ram, 9900k CPU with all cores overclocked to...
Read more >5 ways to fix Google Chrome when it's running slow
To fix Google Chrome when it's running slow, try clearing its cache or wiping the browser history. You can also try deleting unnecessary ......
Read more >VS Code Intellisense is extremely slow - Stack Overflow
As per https://stackoverflow.com/a/69580343/2021554 when you are working with larger files, typically those which exceed 3k lines and have ...
Read more >22 Ways To Speed Up A Slow Loading Website [2022]
If your website is loading slow, you can speed it up by using faster hosting, page builders, plugins, and images. Configuring a caching...
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
I think it is possible the issue @finalcut is experiencing may be different from what I am seeing. Like I said, I see this even when running this command, which has nothing to do with generating any code:
autorest --csharp --help
I just tried running that command with the additional flags, but it looks like the timing starts after the long wait. The output suggests that this took 5 seconds, but it was actually multiple minutes. The time spent waiting is entirely between
https://aka.ms/autorest
being printed and the next line appearing.@pnquest can you confirm you still experience the issue with recent versions?