Commit 06de6245 authored by yiwenshao's avatar yiwenshao

add bench

parent a60fdd50
...@@ -5,7 +5,7 @@ static void ...@@ -5,7 +5,7 @@ static void
test_search(int num_of_tests,int len){ test_search(int num_of_tests,int len){
search_priv s("my key"); search_priv s("my key");
std::string input = std::string(len,'a'); std::string input = std::string(len,'a');
auto cl = s.transform({"hexxxxxxxxxxxxxxxxxxxllo", "world", input}); auto cl = s.transform({"world",input});
std::cout<<cl.size()<<std::endl; std::cout<<cl.size()<<std::endl;
} }
int main(){ int main(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment