cvs commit: src/usr.bin/split split.c
Hiten Pandya
hmp at crater.dragonflybsd.org
Wed Aug 27 19:22:42 PDT 2003
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
More information about the Commits
mailing list