I found this question Generators vs List Comprehension performance in Python and instead of cProfile I use timeit.
from timeit import timeit import cProfile
The generator version won. The cProfile profiling simply introduced way more overhead for the genexp than the list comprehension, since it has a lot more points where the profiler butts in.