Skip to content
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

Closed
wants to merge 10 commits into from

Conversation

ghoshkaj
Copy link
Member

@ghoshkaj ghoshkaj commented Jan 23, 2018

Issue

Implementing the second comment in this issue: Compute annotations for table plugin at runtime

Tasklist

  • CHANGELOG.md entry
  • add regression / cucumber cases (see docs/testing.md)
  • review
  • adjust for comments

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@ghoshkaj ghoshkaj changed the title [WIP] removing the specialty ManyToManyQueryHeap [WIP] Compute annotations for table plugin at runtime Jan 23, 2018
@ghoshkaj ghoshkaj self-assigned this Jan 23, 2018
@ghoshkaj ghoshkaj closed this Jan 24, 2018
@ghoshkaj ghoshkaj force-pushed the compute-annotations-for-table-at-runtime branch from 93a703f to 350bc6f Compare January 24, 2018 17:10
@ghoshkaj ghoshkaj reopened this Jan 24, 2018
@ghoshkaj ghoshkaj force-pushed the compute-annotations-for-table-at-runtime branch 3 times, most recently from 1fbf347 to 714b74a Compare January 24, 2018 21:06
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);
Copy link
Member

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].

Copy link
Member Author

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! 😄

@ghoshkaj ghoshkaj force-pushed the compute-annotations-for-table-at-runtime branch 5 times, most recently from 505fa89 to f4c29fc Compare January 26, 2018 17:25
@ghoshkaj ghoshkaj force-pushed the compute-annotations-for-table-at-runtime branch 2 times, most recently from 80159bc to 9ca8415 Compare January 29, 2018 16:22
@ghoshkaj ghoshkaj force-pushed the compute-annotations-for-table-at-runtime branch from 9ca8415 to 292058d Compare January 29, 2018 20:15
@TheMarex TheMarex changed the title [WIP] Compute annotations for table plugin at runtime Compute annotations for table plugin at runtime Feb 1, 2018
@ghoshkaj ghoshkaj changed the title Compute annotations for table plugin at runtime Collect statistics about how MLD and CH would perform by implementing a dummy cache in the table plugin Feb 13, 2018
@ghoshkaj ghoshkaj changed the title Collect statistics about how MLD and CH would perform by implementing a dummy cache in the table plugin Collect stats on MLD and CH performance in computing table plugin annotations with a cache by implementing a dummy cache Feb 13, 2018
@ghoshkaj ghoshkaj closed this Feb 13, 2018
@DennisOSRM DennisOSRM deleted the compute-annotations-for-table-at-runtime branch November 6, 2022 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants