mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Benchmark: update [#METR-2944].
This commit is contained in:
parent
9bb26fe0af
commit
21f8501ccc
@ -29,7 +29,7 @@ for file in MobilePhoneModel PageCharset Params URLDomain UTMSource Referer URL
|
|||||||
echo
|
echo
|
||||||
BEST_METHOD=0
|
BEST_METHOD=0
|
||||||
BEST_RESULT=0
|
BEST_RESULT=0
|
||||||
for method in {1..5}; do
|
for method in {1..10}; do
|
||||||
echo -ne $file $size $method '';
|
echo -ne $file $size $method '';
|
||||||
TOTAL_ELEMS=0
|
TOTAL_ELEMS=0
|
||||||
for i in {0..1000}; do
|
for i in {0..1000}; do
|
||||||
@ -458,7 +458,7 @@ int main(int argc, char ** argv)
|
|||||||
<< std::endl;
|
<< std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m || m == 1) bench<StringRef_CompareMemcmp, DefaultHash<StringRef>>(data, "StringRef_CityHash64");
|
if (!m || m == 1) bench<StringRef_CompareMemcmp, StringRefHash64>(data, "StringRef_CityHash64");
|
||||||
if (!m || m == 2) bench<StringRef_CompareMemcmp, FastHash64> (data, "StringRef_FastHash64");
|
if (!m || m == 2) bench<StringRef_CompareMemcmp, FastHash64> (data, "StringRef_FastHash64");
|
||||||
if (!m || m == 3) bench<StringRef_CompareMemcmp, SimpleHash> (data, "StringRef_SimpleHash");
|
if (!m || m == 3) bench<StringRef_CompareMemcmp, SimpleHash> (data, "StringRef_SimpleHash");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user