<s> from vbench . benchmark import Benchmark <EOL> from datetime import datetime <EOL> SECTION = "<STR_LIT>" <EOL> common_setup = """<STR_LIT>""" <EOL> setup = common_setup + """<STR_LIT>""" <EOL> index_datetime_intersection = Benchmark ( "<STR_LIT>" , setup ) <EOL> index_datetime_union = Benchmark ( "<STR_LIT>" , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> datetime_index_intersection = Benchmark ( "<STR_LIT>" , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:9> , <NUM_LIT> ) ) <EOL> datetime_index_union = Benchmark ( "<STR_LIT>" , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:9> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> index_int64_union = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> index_int64_intersection = Benchmark ( '<STR_LIT>' , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:1> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> index_str_slice_indexer_basic = Benchmark ( '<STR_LIT>' , setup ) <EOL> index_str_slice_indexer_even = Benchmark ( '<STR_LIT>' , setup ) <EOL> index_str_boolean_indexer = Benchmark ( '<STR_LIT>' , setup ) <EOL> index_str_boolean_series_indexer = Benchmark ( '<STR_LIT>' , setup ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> index_float64_construct = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> index_float64_get = Benchmark ( '<STR_LIT>' , setup , name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_slice_indexer_basic = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_slice_indexer_even = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_boolean_indexer = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_boolean_series_indexer = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_mul = Benchmark ( '<STR_LIT>' , setup , name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> index_float64_div = Benchmark ( '<STR_LIT>' , setup , name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> multiindex_from_product = Benchmark ( '<STR_LIT>' , <EOL> setup , name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:30> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> multiindex_with_datetime_level_full = Benchmark ( "<STR_LIT>" , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:11> ) ) <EOL> multiindex_with_datetime_level_sliced = Benchmark ( "<STR_LIT>" , setup , <EOL> name = '<STR_LIT>' , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:10> , <NUM_LIT:11> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> multiindex_duplicated = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> datetime_index_repr = Benchmark ( "<STR_LIT>" , setup , <EOL> start_date = datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:11> ) ) <EOL> setup = common_setup + """<STR_LIT>""" <EOL> multiindex_sortlevel_int64 = Benchmark ( '<STR_LIT>' , setup , <EOL> name = '<STR_LIT>' ) </s>
