MCPcopy Create free account
hub / github.com/ProjectMitosisOS/mitosis-core / lambda_handler

Function lambda_handler

exp/function.py:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11@tick_execution_time
12def lambda_handler():
13 global time
14 dst = 'result-' + str(time)
15 src = 'compression-' + str(time)
16 shutil.make_archive(dst, 'zip', src)
17 time += 1
18
19@mitosis_bench
20def bench():

Callers 1

benchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected