4 ms·
> However, you're testing the speed to print something, not the application. I'm testing what impact modifications to the application have, to better understan
by MaulingMonkey 4y ago
> However, you're testing the speed to print something, not the application.
I'm testing what impact modifications to the application have, to better understand what is and isn't contributing to the original application's performance and bottlenecks. I've shown how far I have to modify the original to actually start to hit I/O bottlenecks, which by extension, also shows how little they contribute to the bottlenecks of the original application, despite people looking to blame it for the "C" vs "C++" differences elsewhere in the discussion tree.
> I'm assuming they wanted to include the process start and teardown.
And there are interesting discussions to have about that in terms of breaking down OS overhead, API overhead, first launch vs subsequent launches, etc. - none of which the original post bothered with. We could peek at a more realistic workflow involving, say, an xargs-spammed executable processing a piped stream, if we really wanted to simulate a startup/teardown heavy workload. We could fire up `perf` to prepare to profile - I at least installed the frontend before realizing actually using it on wsl requires compiling stuff.
The post didn't bother with any of that. And to be fair, I didn't bother too much either. Low-effort on my part as well ;)