News for hackers. Stuff that matters.
Re:Sublime Text 3.2 Released by zenexer on Wednesday March 13, 2019 @07:47AM (#19377728)
VS Code can't handle very large files (multi-GiB), but Sublime can.
Re:Sublime Text 3.2 Released by zamadatix on Wednesday March 13, 2019 @07:52AM (#19377754)
Does anybody know of a decent benchmark on editor latency? I swear Sublime feels more responsive vs VS code but that could just be in my head.
Re:Sublime Text 3.2 Released by azeirah on Wednesday March 13, 2019 @08:30AM (#19377945)
There is a great benchmark somewhere on Github, it measures 5-ish metrics, like key->rendered latency, time to load 100MB file, and stuff like that.

Apparently, the Joe editor was the fastest, and Sublime has basically first or second place for most metrics.

Atom crashed for a few metrics :P

I don't know if I could find it for you... but it's out there somewhere, maybe someone here has it bookmarked.

Re:Sublime Text 3.2 Released by govg on Wednesday March 13, 2019 @09:36AM (#19378439)
Re:Sublime Text 3.2 Released by dmit on Wednesday March 13, 2019 @09:59AM (#19378646)
For pure typing latency, here's a fairly rigorous one from three years ago: https://pavelfatin.com/typing-with-pleasure/

It doesn't include VS Code, but it does describe the benchmarking process and the provided tool is simple to use.

On my current setup, VS Code 1.32.1 is ~5ms slower than Sublime Text 3.2: 16.2ms vs 10.8ms respectively.

Re:Sublime Text 3.2 Released by guessmyname on Wednesday March 13, 2019 @02:20PM (#19381738)
Re:Sublime Text 3.2 Released by Strom on Wednesday March 13, 2019 @09:37AM (#19378454)
There's one from 2017, but it's probably not too accurate for things like VSCode anymore. https://news.ycombinator.com/item?id=13933128
Re:Sublime Text 3.2 Released by h1d on Wednesday March 13, 2019 @08:02AM (#19377807)
Is that all? I can swear I'll never encounter such a huge text file as a programmer.

There are other ways to interact with those than open up in an editor.

Re:Sublime Text 3.2 Released by rovr138 on Wednesday March 13, 2019 @08:05AM (#19377813)
As someone else’s anecdote, I have. Log files can easily grow, database exports as well.
Re:Sublime Text 3.2 Released by syspec on Wednesday March 13, 2019 @08:17AM (#19377878)
I use sublime as a text editor for such files, but other IDEs (in my case webstorm) for everything editing project code
Re:Sublime Text 3.2 Released by h1d on Wednesday March 13, 2019 @08:20AM (#19377890)
Either you should split the files when exporting (split database schema from data and for each table or by date etc for logs) or grep to filter out than open up GB size in an editor as you'll have problem navigating anyway. You don't want to use 'find' inside the editor for that kind of size.
Re:Sublime Text 3.2 Released by zenexer on Wednesday March 13, 2019 @08:54AM (#19378086)
Or you can use Sublime, where it's not an issue. Find works just fine on large files.