5 ms·
> Today’s software is turtles all the way down from the library to the sub-library to the JIT to the application and OS and hardware and they each need 5-25 mil
by majewsky 8y ago
> Today’s software is turtles all the way down from the library to the sub-library to the JIT to the application and OS and hardware and they each need 5-25 milliseconds to even wake up.
Where do you get these numbers? I have programs that run from start to finish in 5 ms, including tons of OS syscalls.
I think many of us forgot how efficient OSes are because of the shitshow that app developers put on top.
- zimpenfish 8y agoI have a Go program that parses command line arguments, loads and parses a text file, then interprets that code on a faux-CPU. Total time 24ms start to finish for 107 faux-CPU steps (sorting 12 numbers of bunches of 3) according to `time`.
- majewsky 8y agoMine is also a Go program that reads several files and does some basic computations on top of it. I wrote about the `time` measurements here: https://blog.bethselamin.de/posts/latency-matters.html https://blog.bethselamin.de/posts/latency-matters.html