equal
deleted
inserted
replaced
|
1 #!fshell |
|
2 # catcompare.script |
|
3 # |
|
4 # Copyright (c) 2010 Accenture. All rights reserved. |
|
5 # This component and the accompanying materials are made available |
|
6 # under the terms of the "Eclipse Public License v1.0" |
|
7 # which accompanies this distribution, and is available |
|
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 # |
|
10 # Initial Contributors: |
|
11 # Accenture - Initial contribution |
|
12 # |
|
13 |
|
14 # catcompare <repeatcount> <blocksize> |
|
15 export REPEATCOUNT $1 |
|
16 export BLOCKSIZE $2 |
|
17 export CAT "cat -e utf-8 -s $BLOCKSIZE E:\change_history.pod" |
|
18 export TUTF "cat -e ltk-utf-8 -s $BLOCKSIZE E:\change_history.pod" |
|
19 |
|
20 echo "Timing $CAT...^r^n" |
|
21 time -H -r $REPEATCOUNT "$CAT > /dev/null" |
|
22 |
|
23 echo "Timing $TUTF...^r^n" |
|
24 time -H -r $REPEATCOUNT "$TUTF > /dev/null" |