in reply to How do I measure my bottle ?
Optimization is much more than just two variables. You haven't taken into consideration memory allocation, for example.
I'd recommend that you set a goal -- the time in which you want your program to complete by, given your existing hardware.
Then, you write your program, and if it doesn't meet the goal time, then you can work on optimization. I personally monitor what's going on using system utilities (vmstat, iostat, etc). I don't know enough about windows to offer recommentations on similar programs for windows
Also, from the info you've given (20M records, totalling 1GB), I'm guessing there is a chance that memory is your problem. You might want to use a tied hash, or just directly use a database.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I measure my bottle ?
by tlm (Prior) on Mar 25, 2005 at 15:05 UTC | |
|
Re^2: How do I measure my bottle ?
by cbrain (Novice) on Mar 25, 2005 at 13:59 UTC | |
by Tanktalus (Canon) on Mar 25, 2005 at 15:28 UTC |