Batch 1: ok, echo, error, cpu, slow Batch 2: jsonout, recurse, bigdata, math, timestamp Batch 3: multiline, encoding, nested, memory, chain Tests: create, update (code_hash), idempotency, destroy, re-create All 15 functions verified via curl with JWT auth
7 lines
176 B
Python
7 lines
176 B
Python
import sys
|
|
|
|
def main():
|
|
big_list = list(range(500000))
|
|
size_mb = sys.getsizeof(big_list) / (1024 * 1024)
|
|
return f"memory-alloc:{size_mb:.2f}MB len={len(big_list)}"
|