2 ms·
Perhaps a better way to put it is that fixing biased sampling is more useful than increasing the size of the dataset. If I'm profiling a program using a samplin
by skybrian 11y ago
Perhaps a better way to put it is that fixing biased sampling is more useful than increasing the size of the dataset. If I'm profiling a program using a sampling profiler and it's biased, running it longer to collect more data is easy but doesn't help much - it's still biased but with higher resolution.
If you can somehow adjust to remove the bias more resolution might still be useful but you can't adjust for data that's not there - suppose the profiler never samples during garbage collection.
Another example is photography where a longer exposure (more photons) can be useful but won't fix fundamental problems with the camera or how the photo was taken. If the camera is out of focus or shakes because you don't have a tripod or image stabilization, a longer exposure won't fix it and might make it worse.