import pybenchsys pythons ( ' :\python \python')( ' :\python \python')( ' :\pypy\pypy- \pypy'(ispy ?pathstmts ( "[ * for in range( )]")( "res=[]\nfor in range( )res append( * )")( "$listif (map(lambda xx * range( )))")( "list( * for in range( ))")( " 'spam \nx [ [ifor in range( )]")( " '?'\nfor in range( ) +'?'")(num,rpt,stmtiterations \ =multistmt \ \ =indent $=list or 'string ops tracecmd '-tin sys argv pythons pythons if '-ain sys argv else none pybench runner(stmtspythonstracecmd-ttrace command lines-aall in listelse onebenchmark script results here is this script' output when run to test specific version (the python running the script)--this mode uses direct api callsnot command lineswith total time listed in the left columnand the statement tested on the right ' again using the windows launcher in the first two of these tests to time cpython and and am running release of the pypy implementation in the thirdc:\codepy - pybench_cases py ( :bd afb ebf sep : : [msc bit (amd ) ['[ * for in range( )]' ['res=[]\nfor in range( )res append( * )' ['list(map(lambda xx * range( )))' ['list( * for in range( ))' [" 'spam \nx [ [ifor in range( )]" [" '?'\nfor in range( ) +'?'" :\codepy - pybench_cases py (defaultapr : : [msc bit (amd ) ['[ * for in range( )]' ['res=[]\nfor in range( )res append( * )' ['(map(lambda xx * range( )))' ['list( * for in range( ))' [" 'spam \nx [ [ifor in range( )]" [" '?'\nfor in range( ) +'?'" :\codec:\pypy\pypy- \pypy pybench_cases py ( ffjun : : [pypy with msc bit ['[ * for in range( )]' ['res=[]\nfor in range( )res append( * )'timing iterations and pythons with timeit