<s> from vbench . api import Benchmark <EOL> from datetime import datetime <EOL> common_setup = """<STR_LIT>""" <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_fancy_lookup = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:12> ) ) <EOL> frame_fancy_lookup_all = Benchmark ( '<STR_LIT>' , <EOL> setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:12> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_fillna_inplace = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT:4> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_reindex_axis0 = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_reindex_axis1 = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_reindex_both_axes = Benchmark ( '<STR_LIT>' , <EOL> setup , start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_reindex_both_axes_ix = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_reindex_upcast = Benchmark ( '<STR_LIT>' , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_boolean_row_select = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_iteritems = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:1> ) ) <EOL> frame_iteritems_cached = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:1> ) ) <EOL> frame_getitem_single_column = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:1> ) ) <EOL> frame_getitem_single_column2 = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_assign_timeseries_index = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_to_string_floats = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_to_html_mixed = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_html_repr_trunc_mi = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_html_repr_trunc_si = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:11> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_insert_500_columns_end = Benchmark ( '<STR_LIT>' , setup , start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_insert_100_columns_begin = Benchmark ( '<STR_LIT>' , setup , start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> series_string_vector_slice = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:8> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_get_dtype_counts = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:8> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_repr_wide = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:8> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_repr_tall = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:8> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_xs_row = Benchmark ( '<STR_LIT>' , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_xs_col = Benchmark ( '<STR_LIT>' , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_mask_bools = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_mask_floats = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_isnull = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> dropna_setup = common_setup + """<STR_LIT>""" <EOL> frame_dropna_axis0_any = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis0_all = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis1_any = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis1_all = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> dropna_mixed_setup = common_setup + """<STR_LIT>""" <EOL> frame_dropna_axis0_any_mixed_dtypes = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis0_all_mixed_dtypes = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis1_any_mixed_dtypes = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_dropna_axis1_all_mixed_dtypes = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> dropna_setup = common_setup + """<STR_LIT>""" <EOL> frame_count_level_axis0_multi = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_count_level_axis1_multi = Benchmark ( '<STR_LIT>' , dropna_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> dropna_mixed_setup = common_setup + """<STR_LIT>""" <EOL> frame_count_level_axis0_mixed_dtypes_multi = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_count_level_axis1_mixed_dtypes_multi = Benchmark ( '<STR_LIT>' , dropna_mixed_setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_user_func = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_lambda_mean = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_np_mean = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_pass_thru = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_axis_1 = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_apply_ref_by_name = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_dtypes = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_float_equal = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_object_equal = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_nonunique_equal = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_float_unequal = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_object_unequal = Benchmark ( '<STR_LIT>' , setup ) <EOL> frame_nonunique_unequal = Benchmark ( '<STR_LIT>' , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_interpolate = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT:7> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_interpolate_some_good = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT:7> ) ) <EOL> frame_interpolate_some_good_infer = Benchmark ( '<STR_LIT>' , <EOL> setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT:7> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_shift_axis0 = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> frame_shift_axis1 = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> frame_from_records_generator = Benchmark ( '<STR_LIT>' , <EOL> setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:4> ) ) <EOL> frame_from_records_generator_nrows = Benchmark ( '<STR_LIT>' , <EOL> setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:0> <NUM_LIT:4> ) ) <EOL> setup = common_setup + '''<STR_LIT>''' <EOL> frame_duplicated = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' ) </s>
