-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Collect stats on MLD and CH performance in computing table plugin annotations with a cache by implementing a dummy cache #4820
Conversation
93a703f
to
350bc6f
Compare
1fbf347
to
714b74a
Compare
std::cout << " weight: " << result.shortest_path_weight << std::endl; | ||
std::cout << " duration: " << result.duration() <<"\n" << std::endl << std::endl; | ||
|
||
weights_table.emplace_back(result.shortest_path_weight); |
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.
The weight_table
is already pre-filled with values, we can write directly to it using weight_table[row_index * number_of_targets + col_index]
.
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.
Oh right, we pre-fill with INVALID_EDGE_WEIGHT
here: https://github.com/Project-OSRM/osrm-backend/pull/4820/files#diff-81e2dc0f0a96c3d1a3fd7e43ee98a7f3R169
right. Thanks! 😄
505fa89
to
f4c29fc
Compare
added more logs
accurate stats
80159bc
to
9ca8415
Compare
9ca8415
to
292058d
Compare
Issue
Implementing the second comment in this issue: Compute annotations for table plugin at runtime
Tasklist
Requirements / Relations
Link any requirements here. Other pull requests this PR is based on?