News for hackers. Stuff that matters.
Re:The values of Emacs, the Neovim revolution, and the VSCod... by sedev on Sunday January 17, 2021 @10:54AM (#25811676)
From a recent HN discussion, I learned that emacs has had a sampling profiler built in — not on MELPA or something, first-party! — since about 2013. How many widely-used applications these days contain a facility for asking "why is the command I just issued executing slowly?" and for _doing something about it?_ As far as I'm concerned, that's now table stakes for a programming environment: you should be able to not just run a profiler on whatever program you're using the editor to interact with, but to do robust profiling on your editor itself.
Re:The values of Emacs, the Neovim revolution, and the VSCod... by lima on Sunday January 17, 2021 @11:20AM (#25811957)
In terms of IDEs, IntelliJ also comes with built-in profiling. And every modern web browser has robust built-in profiling tools.
Re:The values of Emacs, the Neovim revolution, and the VSCod... by lordgrenville on Sunday January 17, 2021 @11:25AM (#25812015)
I think you're referring to (its wrapper around) Python cProfile, not a profiler for the IDE itself?
Re:The values of Emacs, the Neovim revolution, and the VSCod... by heartbreak on Sunday January 17, 2021 @12:27PM (#25812658)
IntelliJ has a profiler for the IDE itself, too.
Re:The values of Emacs, the Neovim revolution, and the VSCod... by mhh__ on Sunday January 17, 2021 @01:37PM (#25813453)
Automated profiling is one of the best things to get right over a few weekends. I'm slowly putting together something for the D language to do it but it's a bit of a pain.

Anyone know of CI service that can have use rdpmc/perf_events on the cheap?

Re:The values of Emacs, the Neovim revolution, and the VSCod... by a_e_k on Sunday January 17, 2021 @05:59PM (#25816135)
There's also M-x emacs-init-time if you want to know how much a change to your configuration impacted start-up time.
Re:The values of Emacs, the Neovim revolution, and the VSCod... by thotsBgone on Monday January 18, 2021 @02:25AM (#25819176)
To be fair, of all of the editors I've used, emacs is the slowest and needs a profiler the most.