why is Process.WorkingSet so slow
I'm creating a new thread and in it I'm checking the WorkingSet property for my program's process. For some reason whenever I do that it takes like 3 seconds before the rest of the code in that thread starts executing (first time only. If I check workingSet again it wont be slow. Its only slow the first time I access it in my app)....
what's wrong with that :confused:
Re: why is Process.WorkingSet so slow
Maybe it has something to do with the JIT?
Does it do it in both Debug and Release modes? Release Mode is compiled differently from debug, certain optimisations are added (like removing useless loops and so forth).
Re: why is Process.WorkingSet so slow
Quote:
Originally Posted by wossname
Maybe it has something to do with the JIT?
Does it do it in both Debug and Release modes? Release Mode is compiled differently from debug, certain optimisations are added (like removing useless loops and so forth).
hmm not sure. Release mode didnt seem to change anything :eek2: