Re: get the actual size of a file
- From: joerg@xxxxxxxxxx (Joerg Krause)
- Date: 18 Apr 2005 07:24:16 -0700
"Stephan Steiner" <steiner@xxxxxxxxxxx> wrote in message news:<u#upUQrPFHA.3076@xxxxxxxxxxxxxxxxxxxx>...
> [...]
>
> Thanks a bunch for all your valuable suggestions. I have been using rather
> large buffers that I have reduced considerably now.
>
> Regards
> Stephan
During some work on a similar problem I've made some little
benchmarking:
File size approx. 110 MB, 2.4GHz, 1GB RAM, FW 1.1:
Method MM:SS
File.Copy = 1:41
FileStream = 1:17
FS with 10K = 1:24
FS with 1K = 1:46
I guess that less memory will outperform if swapping starts and
smaller chunks will reduce this effect.
Nethertheless, copying with OS alone was about 1:00, which is bit
faster, indeed.
This was only a short test, not a scientific proven method.
-Joerg
www.joerg.krause.net
.
- References:
- get the actual size of a file
- From: Stephan Steiner
- Re: get the actual size of a file
- From: Stephany Young
- Re: get the actual size of a file
- From: Jon Skeet [C# MVP]
- Re: get the actual size of a file
- From: Stephan Steiner
- Re: get the actual size of a file
- From: Willy Denoyette [MVP]
- Re: get the actual size of a file
- From: Stephan Steiner
- get the actual size of a file
- Prev by Date: How to handle ScrollBar events for words in c#?
- Next by Date: accessing a foleder in webserver
- Previous by thread: Re: get the actual size of a file
- Next by thread: controls on a form
- Index(es):
Relevant Pages
|