Creating lists/sets/tuple can be very slow in PYPY
Creating new lists/tuples/sets all tests use an iterable of ints of size 2^14. Every test case repeats 2^14 times.
Multi-spaces gets removed so had to use Pastebin: https://pastebin.com/raw/Wk0i9SVj
The code I used.
def main():
tuple_object = tuple(randrange(4096) for _ in range(2**14))
t = perf_counter()
for _ in range(2**14):
list(tuple_object)
print(perf_counter()-t)
Edit: Sorry for the multiple edits. I had multiple typos because the huge number of benchmarks, shouldn't have done them 1 by 1.