def _profiling(start, sql=''):
    t = time.time() - start
    if 0.1 > t:
        logging.warning('[PROFILING] [DB] %s: %s' % (t, sql))
    else:
        logging.info('[PROFILING] [DB] %s: %s' % (t, sql))
dataset/ETHPy150Open michaelliao/transwarp/transwarp/db.py/_profiling/swapped operands of `>`