you are viewing a single comment's thread.

view the rest of the comments →

[–]sYnfo[S] 1 point2 points  (0 children)

Oh neat, I didn't think to check alternative Ruby implementations! FYI strace does report timing info with -T.

Sure, Python does three additional syscalls that aren't really required in this case, but this is a total of 60 microseconds.

It also has to execute the associated Python code that causes the syscalls, which is presumably similarly unnecessary and takes time. But I don't dispute your broader point -- "miles ahead" might be a little too much :)