flameprof icon indicating copy to clipboard operation
flameprof copied to clipboard

What do the numbers in parentheses mean

Open zcfh opened this issue 3 years ago • 0 comments

test.py:15:test_recursion 22.93% (6 0 4.222224027306071e-05 0.2833811705771583)

I understand that the last two numbers may be tottime and cumtime corresponding to the profile, and the first number may be ncalls, so what is the second number 0?


def test_recursion(num):
    if num < 0:
        return
    print('test_recursion', num)
    time.sleep(0.1)
    test_recursion(num-1)
    test_recursion(num-3)


def main():
    test_recursion(5)


if __name__ == "__main__":
    main()

zcfh avatar Dec 30 '22 08:12 zcfh