Next | Making Programs Faster | 137 |
Here's the raw data for the last three lines
I made three runs with each size and took the median run time
24.91user 0.85system 1:11.69elapsed 35%CPU (256major+7597minor)pagefaults 0swaps 25.09user 0.56system 0:54.91elapsed 46%CPU (256major+7597minor)pagefaults 0swaps 27.62user 0.64system 1:13.82elapsed 38%CPU (256major+7597minor)pagefaults 0swaps
60.38user 1.90system 2:06.18elapsed 49%CPU (299major+19082minor)pagefaults 0swaps 71.49user 1.80system 2:14.87elapsed 54%CPU (256major+15156minor)pagefaults 0swaps 74.08user 1.56system 2:21.39elapsed 53%CPU (256major+15156minor)pagefaults 0swaps
251.00user 120.34system 4:38:10elapsed 2%CPU (487major+1065900minor)pagefaults 0swaps 214.70user 86.19system 3:01:45elapsed 2%CPU (486major+803641minor)pagefaults 0swaps 256.03user 98.89system 4:03:21elapsed 2%CPU (486major+880664minor)pagefaults 0swaps
Notice how the user time increases moderately and the system time explodes
Next | Copyright © 2003 M. J. Dominus |