Add a "no SVG animations" mode when discovering and running tests
See original GitHub issueEnvironment data
- VS Code version: 1.41.0
- Extension version (available under the Extensions sidebar): 2019.11.50794
- OS and version: Ubuntu 19.10
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): poetry
- Relevant/affected Python packages and their versions: Django/Django RestFramework
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info #3977): Jedi
Expected behaviour
See minimal slowdown when running unittests via VScode vs the commandline.
Actual behaviour
When running the unittests (pytest and Django) with an intel GPU (UHD Graphics 620) they take around 100 seconds. With an nvidia GPU around 25 seconds. On the commandline it’s around 22 seconds.
Steps to reproduce:
- Have an intel GPU:
- Click on the Flask/test explorer
- Click on the green arrow, i.e. “Run all tests”
- check the Python Test Log output for the time
- Repeat steps with an NVIDIA GPU.
Or
- Have an intel GPU
- Click on the Flask/test explorer
- Click on the green arrow, i.e. “Run all tests”
- check the Python Test Log output for the time
- Repeat but minimize the window after clicking on ‘Run all tests’.
and observe that it takes up so much CPU/GPU time that is slows the whole thing down.
It could be due to the spinner in the test explorer, because minimizing VSCode solves the problem.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
Console Log with sourcemap enabled for NVIDIA and Intel https://gist.github.com/rvanlaar/603eae9dd4ccf7bf82f473f537acf1a3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (1 by maintainers)
Top Results From Across the Web
A Guide to SVG Animations (SMIL) - CSS-Tricks
Overview. SVG graphics can be animated using animation elements. The animation elements were initially defined in the SMIL Animation ...
Read more >How to animate SVG with CSS: Tutorial with examples
We demo several animations using SVGs and CSS, like a hamburger menu, bouncy text, fade in and fade out, and more.
Read more >Inspect and modify CSS animation effects - Chrome Developers
Overview. To capture animations, open the Animations tab. It automatically detects animations and sorts them into groups.
Read more >Work with SVG files in Animate - Adobe Support
Exporting artwork in SVG format ... On the Export SVG dialog, choose to Embed or Link to your SVG file. ... Click Ok....
Read more >Start CSS animation on hover in a SVG used as border-source
Create your own Custom Element <bordered-svg> (supported in all modern Browsers) that dynamically creates the SVG with all unique values, no ...
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 Free
Top 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
For reference: I also created a chromium issue for it: https://bugs.chromium.org/p/chromium/issues/detail?id=1036262
This issue can be closed.
After looking more into this issue and the performance problems. This issue was due to having enabled fractional scaling in Xorg on ubuntu.