2 responses to “Reservoir sampling and performance considerations”

  1. Dmitry Sotnikov

    Quick question Joel, why not use PeakWorkingSet rather than just WorkingSet when detecting the memory consumption? This would show peak consumption regardless of how Windows frees up memory, right?

    Of course you’ll need to start the tests in different processes to make sure that you don’t get the same peak over and over. ;)

    Just my two cents.

    Dmitry