fixed small error in result generation
This commit is contained in:
parent
12f129d3cf
commit
b82199e3b0
1178
results.csv
1178
results.csv
File diff suppressed because it is too large
Load Diff
@ -76,10 +76,10 @@ template<class T>
|
|||||||
void string_test_aggregate(T map, int runs, int maxsize=20000000) {
|
void string_test_aggregate(T map, int runs, int maxsize=20000000) {
|
||||||
std::ofstream output{"results.csv", std::ios_base::app};
|
std::ofstream output{"results.csv", std::ios_base::app};
|
||||||
for (int i = 0; i < runs; ++i) {
|
for (int i = 0; i < runs; ++i) {
|
||||||
string insert = "\nint_insert, '";
|
string insert = "\nstring_insert, '";
|
||||||
string succ_lookup = "\nint_succ_lookup, '";
|
string succ_lookup = "\nstring_succ_lookup, '";
|
||||||
string nosucc_lookup = "\nint_nosucc_lookup, '";
|
string nosucc_lookup = "\nstring_nosucc_lookup, '";
|
||||||
string delet = "\nint_delete, '";
|
string delet = "\nstring_delete, '";
|
||||||
|
|
||||||
insert += string{name(map)} + "'";
|
insert += string{name(map)} + "'";
|
||||||
succ_lookup += string{name(map)} + "'";
|
succ_lookup += string{name(map)} + "'";
|
||||||
|
Loading…
Reference in New Issue
Block a user