Hello I have situation when .select() give lots of rows select().first() start consume lots of cpu. I work around this by changing query to minimize answer of select(). LOGGING = True gives this in profile.log ncalls tottime percall cumtime percall filename:lineno(function) 3 2.110 0.703 5.397 1.799 sql.py:3146(parse)
I guess something could be done to avoid workaround by sql-query, sorry if i am lame :) Thank you.