go-coreutils
go-coreutils copied to clipboard
rm
Needs to be implemented.
Basic functionality is implemented.
GNU implementation:
real 0m0.120s
user 0m0.024s
sys 0m0.092s
real 0m0.123s
user 0m0.044s
sys 0m0.076s
real 0m0.126s
user 0m0.040s
sys 0m0.084s
My implementation:
real 0m0.109s
user 0m0.040s
sys 0m0.068s
real 0m0.112s
user 0m0.032s
sys 0m0.080s
real 0m0.118s
user 0m0.040s
sys 0m0.076s
I did this benchmark by creating 10,000 files and then using time rm blah*
for GNU and time ./rm blah*
for go-coreutils. On average, the go-coreutils version is faster.