7 ms·
I have never encountered an Electron app that can even display the results of keystrokes in a timely manner, and that includes vscode. All Electron apps waste s
by bufio 3y ago
I have never encountered an Electron app that can even display the results of keystrokes in a timely manner, and that includes vscode. All Electron apps waste system resources to an obscene degree. Also, Electron apps have already thrown away OS conventions to the point that user interface consistency has become a thing of the past.
I don't believe that either choice is ideal, but if Godot were ubiquitous instead of Electron, applications would probably at least be less laggy and more memory-efficient.
- skydhash 3y agoSublime Text and Blender (and I guess the majority of CAD applications) creates their own UI engine. That would be better than the current state of electron apps, but most UI engines I encounter have support for custom elements. The issue is more wanting access to lots of cheap developer resources than branding.
- JeffSnazz 3y agoI'm not sure about Sublime Text, but I can't imagine Blender is very accessible. As it's such a visual app that's perhaps not surprising, but this approach wouldn't work for other app styles.
- then4p 3y agoVS Code ID top laggy for you? Honestly asking because I think it performs adequately when compared to like IntelliJ.
- alpaca128 3y agoAccording to one benchmark intelliJ can reach an average latency of 3ms on an i5 3427U from 2012 [0]. In a 2022 Github issue someone profiled VS Code which resulted in 12ms latency on an i7-12700KF released in 2021 [1]. If those results are even remotely representative of real-world scenarios then VS Code can't come close to intelliJ performance. [0] https://pavelfatin.com/typing-with-pleasure/#windows https://pavelfatin.com/typing-with-pleasure/#windows [1] https://github.com/microsoft/vscode/issues/161622#issuecomment-1287528213 https://github.com/microsoft/vscode/issues/161622#issuecomme...
- mardifoufs 3y agoWhen doing what? Also why did you leave out that in the actual apples to apples comparison (the screenshot in the GitHub issue), IDEA literally is shown to have a worse latency versus vscode. Also, just going by pure graphical latency is... niche to say the least. What matters most is how fluid it is, how quick it actually processes stuff and how well it does all the required background IDE stuff without lagging or loading too slowly. Painting onto the display is just one part of the equation (and one that vscode still seems to beat IDEA on, even in a bug report about latency on... vscode)
- dekerta 3y agoAre you running a 15 year old netbook or something? I've never noticed any input lag in VSCode or Slack (or any other Electron apps I can think of)
- fragmede 3y agothey're a text editor and a chat client, and a 30 year old computer can run vim/emacs and irssi just fine.
- fkyoureadthedoc 3y agobrb, just switching my 100k employee company from Teams to IRC, should be quick and easy, everyone is going to love it.
- alemanek 3y agoIf they are on MacOS they may make you their king. I still have PTSD from the last job that I had to use Teams on a Mac.
- mark38848 3y agoI would love it. I would also love for it to switch to silence instead.
- Gormo 3y agoExcellent idea! You'll have a mature, open standard protocol under the hood, with no vendor lock-in, excellent extensibility, and great modern frontends like The Lounge (https://thelounge.chat/ https://thelounge.chat/) or Convos (https://convos.chat/ https://convos.chat/) to choose from (and you can choose).
- squeaky-clean 3y agoSomething is very wrong with your system configuration if VS Code has issues showing keystrokes in realtime. It's not a VS Code or electron problem.
- gkbrk 3y agoI've had this happen with VS code. When your system is under load, VS Code not only gets keystrokes in a laggy way, the characters arrive in the wrong order. Haven't had this problem with other text editors.
- haolez 3y agoI've seen this too. With recent versions nonetheless.
- squeaky-clean 3y agoThat's entirely different than having "never" seen it handle keystrokes in a timely manner.
- stagas 3y agoYes same experience here, it'll perform well for the first 3 keystrokes after a rest, then start lagging, compounding lag to the point where the screen is 5 characters behind of what I am typing, then I have to wait 10-15 seconds for it to rest and report all the errors. It's terrible but there's no alternative for the features.
- theferalrobot 3y agoThis happens to me pretty regularly when training ML models or running heavy simulations etc, the system is taxed and electron just gets swamped meanwhile more efficient apps can handle themselves just fine on the side.
- jcelerier 3y agoPeople say this but then I look at them typing and I can literally see the lag compared to closer-to-the-metal toolkits.
- mikaelsouza 3y agoIf you want to check an application that runs on Electron and is quite speedy, try Obsidian.md. I didn't even know performance like that was possible in an Electron app. Unfortunately this example is the exception instead of the norm.
- awesomelvin 3y ago[dead]