11 lines
174 B
Python
11 lines
174 B
Python
|
import time
|
||
|
|
||
|
start = time.time()
|
||
|
f = open('15py.csv', 'w')
|
||
|
n = 0
|
||
|
list = []
|
||
|
while True:
|
||
|
list.append(1024)
|
||
|
n += 1
|
||
|
end = time.time()
|
||
|
f.write(f'{n}, {end-start}')
|