mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
code size reduction by using function arrays and add bandwidth to output
This commit is contained in:
committed by
Konstantinos Margaritis
parent
bb9bcb3760
commit
e0fefb3489
@@ -47,5 +47,6 @@ void noodle_benchmarks(int size, int M, const char *lit_str, int lit_len, char n
|
||||
total_sec += noodExec_elapsed_seconds.count();
|
||||
}
|
||||
total_sec /= M;
|
||||
std::cout<<"\x1B[35m Case with match in random pos and size: "<<size<<" lit_len: "<<lit_len<<" nocase: "<<(int)nocase<<"\x1B[36m noodExec elapsetime: \x1B[0m"<<total_sec<<std::endl;
|
||||
std::cout<<"\x1B[35m Case with match in random pos and size: "<<size<<" lit_len: "<<lit_len<<" nocase: "<<(int)nocase<<"\x1B[36m noodExec elapsetime: \x1B[0m"<<total_sec<<" bandwidth"<<(size/total_sec)<<std::endl;
|
||||
delete [] data;
|
||||
}
|
||||
Reference in New Issue
Block a user