OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # Copyright 2015 the V8 project authors. All rights reserved. | 3 # Copyright 2015 the V8 project authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Convenience Script used to rank GC NVP output. | 7 # Convenience Script used to rank GC NVP output. |
8 | 8 |
9 print_usage_and_die() { | 9 print_usage_and_die() { |
10 echo "Usage: $0 [OPTIONS]" | 10 echo "Usage: $0 [OPTIONS]" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 -t|--top-level) | 55 -t|--top-level) |
56 TOP_LEVEL=yes | 56 TOP_LEVEL=yes |
57 ;; | 57 ;; |
58 -c|--csv) | 58 -c|--csv) |
59 CSV=" --csv " | 59 CSV=" --csv " |
60 ;; | 60 ;; |
61 -f|--file) | 61 -f|--file) |
62 LOGFILE=$2 | 62 LOGFILE=$2 |
63 shift | 63 shift |
64 ;; | 64 ;; |
65 -f|--percentiles) | 65 -p|--percentiles) |
66 PERCENTILES="--percentiles=$2" | 66 PERCENTILES="--percentiles=$2" |
67 shift | 67 shift |
68 ;; | 68 ;; |
69 *) | 69 *) |
70 break | 70 break |
71 ;; | 71 ;; |
72 esac | 72 esac |
73 shift | 73 shift |
74 done | 74 done |
75 | 75 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | $BASE_DIR/eval_gc_nvp.py \ | 159 | $BASE_DIR/eval_gc_nvp.py \ |
160 --no-histogram \ | 160 --no-histogram \ |
161 --rank $RANK_MODE \ | 161 --rank $RANK_MODE \ |
162 $CSV \ | 162 $CSV \ |
163 $PERCENTILES \ | 163 $PERCENTILES \ |
164 ${INTERESTING_OLD_GEN_KEYS} | 164 ${INTERESTING_OLD_GEN_KEYS} |
165 ;; | 165 ;; |
166 *) | 166 *) |
167 ;; | 167 ;; |
168 esac | 168 esac |
OLD | NEW |