3 ms·
What does “horrifically slow” mean compared to a monolithic syscall? I haven’t run autoconf on linux in years.
by SomeOldThrow 7y ago
What does “horrifically slow” mean compared to a monolithic syscall? I haven’t run autoconf on linux in years.
- drewg123 7y agoSmall number of minutes vs less than a minute. The last time I built something by hand in both places, it seemed to take 2x to 3x as long to run all the autoconf checks on MacOS. That's basically a fork / exec / open /close sort of benchmark.
- panpanna 7y ago(and general filesystem performance)
- panpanna 7y agoYou should try it yourself. We moved almost all development machines to Linux after someone demonstrated how fast Linux built some C project compared to osx and windows.
- SomeOldThrow 7y agoSpent a while thinking why I don’t see this much. I work mostly with higher level languages, so the beefiest things I run are probably webpack and the typescript language server. I wonder if maybe the problem is fork or some derivative effect. That, or I just don’t have any syscall heavy loads in my life, full stop.
- asveikau 7y agoIt doesn't need autoconf to see this. I have seen it in a project with a simple make -j, compiling with clang in both places. Builds finish much faster on Linux. To be fair this may be many things and not just mach syscalls.