Project

General

Profile

« Previous | Next » 

Revision 9521

bugfix: bin/tnrs_db: cumulative profiler: use len(names) instead of this_ct (cur.rowcount) in case the actual # rows fetched differed from the rowcount

View differences:

tnrs_db
56 56
            tnrs_profiler.start()
57 57
            try: stream = tnrs.tnrs_request(names)
58 58
            finally:
59
                tnrs_profiler.stop(iter_ct=this_ct)
59
                tnrs_profiler.stop(iter_ct=len(names))
60 60
                log('Cumulatively: '+tnrs_profiler.msg())
61 61
            
62 62
            log('Storing TNRS response data')

Also available in: Unified diff