4 ms·
At the bottom of the article the author provides links to regression reports. In one workload calculating the thread local address was taking 10% of execution t
by MobiusHorizons 2y ago
At the bottom of the article the author provides links to regression reports. In one workload calculating the thread local address was taking 10% of execution time up from 1%. The burden of proof would seem to be on you.
- menaerus 2y agoNo, that's not how it works. The burden of proof is on the one who is claiming the regression or design flaw, and in this case I am not sure what exactly the author can even claim? He did not run a single experiment where he would show that a non-inlined ctr call is creating a runtime pressure on his fancy profiler. Not a single experiment. Not a single data. This is a pure form of cargo-cult programming not engineering. The unfortunate effect of this and similar blogs is that tomorrow you will have to deal with someone at your work who happened to read this and such material on the web and will take it for granted. He will take it further and implement an "optimization" yet when you ask to demonstrate the problem he was solving you will get big nothing. Just as in this case.