MCPcopy Index your code
hub / github.com/nodejs/node / main

Function main

deps/v8/tools/regexp-sequences.py:112–123  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

110 seq_str, count, pct, loops, loop_pct))
111
112def main(argv):
113 if len(argv) < 2:
114 print("Usage: python {} <trace-file>".format(argv[0]))
115 sys.exit(1)
116
117 max_seq = 7
118 stats, total = parse(argv[1], max_seq)
119 for i in range(max_seq):
120 print()
121 print("Most common of length {}".format(i+1))
122 print()
123 print_most_common(stats[i], i, total)
124
125if __name__ == '__main__':
126 main(sys.argv)

Callers 1

Calls 6

print_most_commonFunction · 0.85
printFunction · 0.70
parseFunction · 0.70
formatMethod · 0.65
rangeFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…