def profiler():
    KEY = 'web2py_profiler_size'
    filename = global_settings.cmd_options.profiler_filename
    data = 'profiler disabled'
    if filename:
        if  KEY in request.cookies:
            size = int(request.cookies[KEY].value)
        else:
            size = 0
        if os.path.exists(filename):
            data = read_file('profiler.log', 'rb')
            if size < len(data):
                data = data[size:]
            else:
                size = 0
            size += len(data)
            response.cookies[KEY] = size
    return data
echo ...
dataset/ETHPy150Open uwdata/termite-data-server/web2py/applications-original/admin/controllers/toolbar.py/profiler--crossover with--dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/BaseCommands.echo