Repository navigation
Optimize road-based pickup ETA matching - #34
Merged
Merged
Conversation
Collaborator
|
Merged; the tests and the batch-versus-single comparison look good. Main concern: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Optimize road-based pickup ETA calculations in driver matching.
Reuse compiled routing rules during reverse-search calculations.
Cache repeated base-rule and turn-cost evaluations.
Add Mumbai road-network benchmarks for batch routing and driver selection.
Testing
Full test suite: 118 passed, 16 subtests passed.
Warm batch routing median: 180.7 ms for 10 routes.
Ten individual routes: 477.0 ms.
Warm nearest-driver selection median: 151.9 ms for 10 drivers from 50 candidates.
Benchmark timings are from a local run on the Mumbai road graph and may vary by machine. Router loading and graph construction are excluded from the routing timing target.
Testing
Benchmark timings are from a local run on the Mumbai road graph and may vary by machine. Router loading and graph construction are excluded from the routing timing target.
Closes #24