miller/docs6/docs/data/then-chaining-performance.txt
2021-08-22 11:41:31 -04:00

15 lines
286 B
Text

% cat piped.sh
mlr cut -x -f i,y data/big | mlr sort -n y > /dev/null
% time sh piped.sh
real 0m2.321s
user 0m4.878s
sys 0m1.564s
% cat chained.sh
mlr cut -x -f i,y then sort -n y data/big > /dev/null
% time sh chained.sh
real 0m2.070s
user 0m2.738s
sys 0m1.259s