Comments (9)
@ryanraposo I'm still not convinced that extension is needed at startup. It should be activated
onView
instead of*
.
onView it is, then.
from codeui.
No change. ~200ms as it was.
from codeui.
A helpful link:
How to Speed Up Your VS Code Extension by Zhe Li
from codeui.
Developer: Show Running Extensions workbench.action.showRuntimeExtensions
from codeui.
Thanks for raising this.
On one hand, there is some justification for it. Most extensions load a lot on the fly. CodeUI does near zero compared to the load when it initializes. All the lifting is in detecting settings and generating hundreds of colored svgs for every element of VS Code. There is a mid-way strategy that's popular, which is to avoid piling more compute into VS Code's launch, and instead waiting until the extension's pane is drawn (for example). CodeUI is the pane and on many setups it would be an ugly load when you toggle the view.
Other hand: I'm pretty subpar at TypeScript. I didn't even know JavaScript when I set out to make this extension. @usernamehw, you write nicer, cleaner TypeScript-- that struck me looking at your PRs for sure. I think I was pretty efficient in a strategic sense but I probably overuse and/or misuse language-specific loops and iteration mechanisms in the init. There might be a lot of room for speed gains, such that a good pass could make the above a total non-issue, I'm really not sure.
Just to piggyback on this Issue, in general @usernamehw if you'd like to take on more responsibility or have some cool milestones in mind that we can reach for, just say the word! If you have anything, you should take the reigns on the plan. My mind is not always in this project, and I find the extension to be great for my uses... but some good ol' dissatisfaction is the right stuff as far as I'm concerned. Better TypeScript is a plus too, but for me, the important thing is just that you think CodeUI is neat enough as a user that you want more for it. I'll be right back to it to help code/plan if you do, guaranteed. Funnest part, and a lot funner than giving it a new hat.
It's in a good, necessary spot just gaining users-- the incoming complaints/missing feature reports are what I'm after before next moves; but by all means, don't wait for them! Thanks again for supporting. Means a lot to me.
from codeui.
@ryanraposo I'm still not convinced that extension is needed at startup. It should be activated onView
instead of *
.
from codeui.
@usernamehw my activation times since switching to onView (454ms). I still agree that deferring away from VS Code launch was the right move.
from codeui.
Maybe it's slower while debugging the extension?
from codeui.
@usernamehw could be!
from codeui.
Related Issues (20)
- [Fix] Same colors but different digits should be grouped together HOT 14
- An option to always use `Global` user settings HOT 4
- [Fix] Tweak multiple word Element titles HOT 2
- Commit lock file
- [Feature] 🎨 Color Picker 🎨 HOT 5
- [color-picker] [1/3] Push updates from the color picker to the extension
- [color-picker] [2/3] Listen for and store updates from the color picker
- [color-picker] [3/3] Create a command that copies the selection to clipboard
- Open VSX Listing: Signing the Publisher Agreement HOT 1
- [Feature] 'What's New'
- [FIX] Elements not showing 'full' names in Palette View HOT 1
- Improve README
- USAGE.md: Two getting started questions HOT 2
- Customizations not working
- Grunt
- [Feature] Responsive Color Picker HOT 1
- Tree View icons in light theme have low contrast HOT 1
- Write into Theme-specific settings instead of global ones HOT 4
- Granular lighten/darken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeui.