2014-06-19 19:44:33 +01:00
|
|
|
import bench
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2014-06-19 19:44:33 +01:00
|
|
|
def test(num):
|
2020-03-23 02:26:08 +00:00
|
|
|
for i in iter(range(num // 10000)):
|
2014-06-19 19:44:33 +01:00
|
|
|
l = [0] * 1000
|
|
|
|
l2 = bytes(l)
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2014-06-19 19:44:33 +01:00
|
|
|
bench.run(test)
|