Lorenzo Bolla

Editors speed on opening big files

While playing with different editors (namely vim and sam) I tried to time how long some common editors take to open a big file (~140Mb).

Then, for curiosity, I timed less with and without (-n) line numbering:

Here are the results:

editorrealusersys
ed4.866s3.440s3.440s
vim2.086s0.836s0.232s
nano16.264s15.361s0.172s
samway too long
less3.552s0.200s0.072s
less -n0.182s0.016s0.016s

Not sure what to do with these numbers, yet…

#Programming