@Profiler.profile
def test_orm_full_objects_list(n):
 sess = Session(engine)
 objects = list(sess.query(Customer).limit(n))

@ Profiler . profile def test_orm_full_objects_list ( n ) : sess = Session ( engine ) objects = list ( sess . query ( Customer ) . limit ( n ) )
load fully tracked orm objects into one big list() .