DragonFly commits List (threaded) for 2003-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.bin/split split.c
hmp 2003/08/27 19:22:38 PDT
Modified files:
usr.bin/split split.c
Log:
Optimize split(1) by using dynamic allocation for buffers.
Benchmark:
File: 300M file, 1024k splits
Old: 31.44 real 0.03 user 3.87 sys
New: 28.47 real 0.01 user 4.00 sys
In some cases, I have seen a difference of 10 to 20 for 'real'.
Originated from: FreeBSD GNATS (PR #22442)
Revision Changes Path
1.3 +26 -7 src/usr.bin/split/split.c
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]