3 ms·
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 wi
by sedev 6y ago
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.
- lima 6y agoIn terms of IDEs, IntelliJ also comes with built-in profiling. And every modern web browser has robust built-in profiling tools.
- lordgrenville 6y agoI think you're referring to (its wrapper around) Python cProfile, not a profiler for the IDE itself?
- heartbreak 6y agoIntelliJ has a profiler for the IDE itself, too.
- mhh__ 6y agoAutomated 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?
- a_e_k 6y agoThere's also M-x emacs-init-time if you want to know how much a change to your configuration impacted start-up time.
- thotsBgone 6y agoTo be fair, of all of the editors I've used, emacs is the slowest and needs a profiler the most.