Hacker News new | ask | show | jobs
by kaba0 1317 days ago
That assumes that sudo the executable taking longer would linearly increase the time when in fact your OS loaded the exe into memory, created a process, allocated memory and let it go. A significant amount of time was just that, nothing related to the program’s job.
1 comments

"time /bin/false" and "time /bin/true" consistently give me 0.001s though
“ When used alone, the -k (kill) option to sudo invalidates the user's cached credentials.”

IO wouldn’t get slower though, and likely that takes the majority of its running time.