3 ms·
Nice to see that WAF, being python is competitive. It goes to show that smart can beat brawn.
by mianos 11y ago
Nice to see that WAF, being python is competitive. It goes to show that smart can beat brawn.
- berkut 11y agoIt's only really SCons which gives Python as a build system a bad name in terms of speed in my experience.
- waterhouse 11y agoAnd judging by the "number of system calls" section, SCons's performance problems don't appear to be due to the Python runtime.
- bjohan 11y agoI'd say Python's runtime only has a small fixed startup cost that prevent it from beating natively-compiled tools in no-op rebuilds (when no source file has changed). Some tools like tup or ninja reach insanely low times that are below the startup time of Python itself. But at such low times, it doesn't matter anymore whether it's 10ms or 100ms.
- kodr 11y agoAgreed, but it seems those benchmarks were made to promote wonderbuild. I'm not sure if it's still updated (it doesn't seem so), and it uses old versions for cmake and waf. it would also be nice to compare other build system like ninja+meson.