11893353673 12385 function calls in 0.072 seconds Ordered by: standard name ncalls tottime percall cumtime percall filename:lineno(function) 2330 0.004 0.000 0.004 0.000 :0(append) 1 0.000 0.000 0.000 0.000 :0(collect) 1 0.000 0.000 0.012 0.012 :0(map) 398 0.000 0.000 0.000 0.000 :0(min) 2000 0.000 0.000 0.000 0.000 :0(readline) 326 0.000 0.000 0.000 0.000 :0(remove) 1 0.000 0.000 0.000 0.000 :0(setprofile) 2000 0.004 0.000 0.004 0.000 :0(split) 2000 0.004 0.000 0.004 0.000 :0(strip) 1 0.000 0.000 0.072 0.072 :1() 2000 0.020 0.000 0.024 0.000 code.py:12(readline) 1 0.028 0.028 0.072 0.072 code.py:66(run) 1000 0.012 0.000 0.012 0.000 code.py:67(gen) 325 0.000 0.000 0.000 0.000 code.py:91(select_next) 0 0.000 0.000 profile:0(profiler) 1 0.000 0.000 0.072 0.072 profile:0(run())