MCPcopy
hub / github.com/mitmproxy/mitmproxy / load

Method load

test/bench/benchmark.py:44–54  ·  view source on GitHub ↗
(self, loader)

Source from the content-addressed store, hash-verified

42 ctx.master.shutdown()
43
44 def load(self, loader):
45 loader.add_option(
46 "benchmark_save_path",
47 str,
48 "/tmp/profile",
49 "Destination for the .prof and .bench result files",
50 )
51 ctx.options.update(
52 mode="reverse:http://devd.io:10001",
53 )
54 self.pr.enable()
55
56 def running(self):
57 if not self.started:

Callers 2

mainFunction · 0.45
read_tnetstringFunction · 0.45

Calls 2

add_optionMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected