14136e585SShuo Chencc_binary( 24136e585SShuo Chen name = "word_freq_shards_basic", 34136e585SShuo Chen srcs = ["word_freq_shards_basic.cc"], 43a0488b5SShuo Chen # linkopts = ["-ltcmalloc_and_profiler"], 54136e585SShuo Chen deps = [ 685147189SShuo Chen ":common", 74136e585SShuo Chen "@absl//absl/container:flat_hash_map", 84136e585SShuo Chen ], 94136e585SShuo Chen) 1085147189SShuo Chen 11b420b502SShuo Chencc_binary( 12b420b502SShuo Chen name = "word_freq_sort_basic", 13b420b502SShuo Chen srcs = ["word_freq_sort_basic.cc"], 14b420b502SShuo Chen # linkopts = ["-lprofiler"], 15b420b502SShuo Chen deps = [ 16b420b502SShuo Chen ":common", 17b420b502SShuo Chen "@muduo//muduo/base", 18b420b502SShuo Chen ], 19b420b502SShuo Chen) 20b420b502SShuo Chen 2185147189SShuo Chencc_library( 2285147189SShuo Chen name = "common", 2385147189SShuo Chen hdrs = [ 2485147189SShuo Chen "file.h", 25da39c979SShuo Chen "input.h", 26da39c979SShuo Chen "merge.h", 2785147189SShuo Chen "timer.h", 2885147189SShuo Chen ], 29c377920eSShuo Chen deps = [ 30c377920eSShuo Chen "@absl//absl/strings:str_format", 31c377920eSShuo Chen "@muduo//muduo/base", 32c377920eSShuo Chen ], 33c377920eSShuo Chen) 34c377920eSShuo Chen 35c377920eSShuo Chencc_test( 36c377920eSShuo Chen name = "benchmark", 37c377920eSShuo Chen srcs = ["benchmark.cc"], 38da39c979SShuo Chen # linkopts = ["-ltcmalloc_and_profiler"], 39c377920eSShuo Chen deps = [ 40c377920eSShuo Chen ":common", 41c377920eSShuo Chen "@absl//absl/container:flat_hash_set", 42c377920eSShuo Chen ], 4385147189SShuo Chen) 44