MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / main

Function main

scripts/memlab-report.py:168–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167
168def main():
169 parser = argparse.ArgumentParser()
170 parser.add_argument("profile")
171 parser.add_argument("--census")
172 parser.add_argument("--diff")
173 parser.add_argument("--top", type=int, default=12)
174 parser.add_argument("--binary", help="the memwaste binary, for symbol names")
175 args = parser.parse_args()
176 if args.diff:
177 diff(args.profile, args.diff, args.top, args.binary)
178 else:
179 report(args.profile, args.census, args.top, args.binary)
180 return 0
181
182
183if __name__ == "__main__":

Callers 1

memlab-report.pyFile · 0.70

Calls 2

diffFunction · 0.85
reportFunction · 0.70

Tested by

no test coverage detected