-
Notifications
You must be signed in to change notification settings - Fork 322
test: add query performance benchmark #3855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…feat/query-perf-benchmark
"`channel` int, \n" + | ||
"`click_time` Timestamp, \n" + | ||
"`is_attributed` int \n" + | ||
")\n" + "OPTIONS (replicanum=1); "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ts
ArrayList<HashMap<String, Object>> rows = new ArrayList<>(); | ||
|
||
while (res.next()) { | ||
HashMap<String, Object> row = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
增加开关
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'll approve it after code update and get result set size test |
Added a set of benchmarking tests to compare the query performance of OpenMLDB and Redis. The tests use the open-source TalkingData dataset and cover the following typical scenarios: