simple ( 0): GET 18.93ms simple ( 1): GET 3.91ms simple ( 2): GET 2.50ms simple ( 3): GET 2.58ms simple ( 4): GET 2.49ms simple ( 5): GET 2.52ms simple ( 6): GET 2.74ms simple ( 7): GET 2.44ms simple ( 8): GET 1.69ms simple ( 9): GET 1.66ms simple (10): GET 1.66ms simple (11): GET 1.71ms simple (12): GET 1.83ms simple (13): GET 1.80ms simple (14): GET 1.79ms 1138 function calls in 0.052 CPU seconds Ordered by: internal time, call count List reduced from 55 to 3 due to restriction <0.050000000000000003> ncalls tottime percall cumtime percall filename:lineno(function) 135 0.022 0.000 0.022 0.000 socket.py:321(readline) 1 0.010 0.010 0.011 0.011 __init__.py:70(search_function) 30 0.010 0.000 0.010 0.000 :1(connect) $ python httplib_test.py -n 15 -p shared shared ( 0): GET 3.07ms shared ( 1): GET 2.01ms shared ( 2): GET 1.89ms shared ( 3): GET 1.85ms shared ( 4): GET 1.99ms shared ( 5): GET 2.65ms shared ( 6): GET 1.94ms shared ( 7): GET 1.95ms shared ( 8): GET 1.93ms shared ( 9): GET 1.88ms shared (10): GET 1.91ms shared (11): GET 1.59ms shared (12): GET 1.54ms shared (13): GET 1.52ms shared (14): GET 1.51ms 1082 function calls in 0.030 CPU seconds Ordered by: internal time, call count List reduced from 56 to 3 due to restriction <0.050000000000000003> ncalls tottime percall cumtime percall filename:lineno(function) 135 0.022 0.000 0.022 0.000 socket.py:321(readline) 16 0.002 0.000 0.002 0.000 :1(connect) 15 0.001 0.000 0.014 0.001 httplib.py:224(readheaders)