editors’ speed on opening big files

May 17, 2010

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).

here are the results:

editor real user sys
ed 4.866s 3.440s 3.440s
vim 2.086s 0.836s 0.232s
nano 16.264s 15.361s 0.172s
sam way too long

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

less 3.552s 0.200s 0.072s
less -n 0.182s 0.016s 0.016s

not sure what to do with these numbers, yet…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: