18416073173 13106 function calls in 0.084 seconds Ordered by: standard name ncalls tottime percall cumtime percall filename:lineno(function) 2492 0.012 0.000 0.012 0.000 :0(append) 1 0.000 0.000 0.000 0.000 :0(collect) 1 0.000 0.000 0.004 0.004 :0(map) 629 0.004 0.000 0.004 0.000 :0(min) 2000 0.008 0.000 0.008 0.000 :0(readline) 490 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.000 0.000 0.000 0.000 :0(strip) 1 0.000 0.000 0.084 0.084 :1() 2000 0.012 0.000 0.020 0.000 code.py:12(readline) 1 0.036 0.036 0.084 0.084 code.py:66(run) 1000 0.004 0.000 0.004 0.000 code.py:67(gen) 489 0.004 0.000 0.004 0.000 code.py:91(select_next) 0 0.000 0.000 profile:0(profiler) 1 0.000 0.000 0.084 0.084 profile:0(run())