#NEWLINE# def time_per_frame_across_implementations( implementations , variant ) : #NEWLINE# #INDENT# stats = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for case_name in implementations : #NEWLINE# #INDENT# module_name = implementations [ case_name ] #NEWLINE# cm = __import__ ( module_name , globals , locals ) #NEWLINE# __builtins__ . collision_module = cm #NEWLINE# partial_stats = cmark . benchmark_time_per_frame ( variant , cmark . base_demo_world_params , cmark . stats_params ) #NEWLINE# stats [ case_name ] = partial_stats [ 'placeholder' ] #NEWLINE# #UNINDENT# return stats