Re:A Not-Called Function Can Cause a 5X Slowdown
by fuzzy2 on Tuesday December 04, 2018 @08:09AM
(#18599075)
The second paragraph mentions that this is about a test suite. It has to “spawn processes all-over” to do its job.
[ Parent
| on HN ]
Re:A Not-Called Function Can Cause a 5X Slowdown
by nwellnhof on Tuesday December 04, 2018 @09:10AM
(#18599507)
Technically, it doesn't has to. You can put your whole test suite into a single executable, making it run extremely fast for C/C++ projects where process startup is often much slower than running a single test unit. This approach is used in some OSS projects I've worked on but it also has its downsides.