DrWhy has asked for the wisdom of the Perl Monks concerning the following question:
I have a script that does repeated speed tests of an application. However, Windows disk and memory caching is causing the results to be less than accurate. Is there a way in Perl (or with some external tool called by Perl) to clear these caches between each run of the application that I'm testing?
I've looked on CPAN for something that could do this, but I wasn't successful.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do you clear Win32 caches (disk/memory)
by cowboy (Friar) on Sep 26, 2005 at 21:55 UTC | |
|
Re: How do you clear Win32 caches (disk/memory)
by InfiniteSilence (Curate) on Sep 26, 2005 at 18:42 UTC | |
by DrWhy (Chaplain) on Sep 26, 2005 at 19:22 UTC | |
|
Re: How do you clear Win32 caches (disk/memory)
by spiritway (Vicar) on Sep 27, 2005 at 04:57 UTC | |
|
Re: How do you clear Win32 caches (disk/memory)
by DrWhy (Chaplain) on Sep 30, 2005 at 21:57 UTC |