Commit d9a11db2 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Make this benchmark less about gc speed

While it's bad that we do so poorly with large heaps,
that's not the point of this benchmark.
parent 40df4bf5
......@@ -7,7 +7,8 @@ def f(c):
pass
l = []
r = range(500)
for i in xrange(100):
l.append(itertools.chain(*[range(500) for j in xrange(500)]))
l.append(itertools.chain(*[r for j in r]))
c = itertools.chain(*l)
f(c)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment