MCPcopy Create free account
hub / github.com/wal-e/wal-e / produce

Function produce

tests/pipe_performance.py:44–49  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

42
43
44def produce(f):
45 while True:
46 f.write(OVER_TEN_MEGS)
47
48 f.flush()
49 f.close()
50
51
52def churn_at_rate_limit(rate_limit, bench_seconds):

Callers

nothing calls this directly

Calls 3

writeMethod · 0.80
flushMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected