Repository navigation
Conversation
lonvia
force-pushed
the
monobound-binary-search
branch
from
November 24, 2026 16:02
79cd4d7 to
190f982
Compare
|
I pulled this into my fork to test it. It passed the fork's fuzz and property-based tests. Performance depended on architecture: it was about 2% faster on x86 and 2% slower on ARM (link to comment that gives a flavour of the performance differences) I imagine production and most people run x86, though, so it's likely an overall improvement. (I only use ARM because it decreases GitHub runner variability -- ARM runners use exactly 1 VM type and past timing runs have shown them to have less variability. x86 runners have at least six different hardware types across multiple generations of AMD/Intel chips and past timing runs have shown them to have more variability, even on repeated timing runs within the same instance.) |
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.
One of mmd's performance fixes ported over from his branch. See mmd-osm@3faedf0
I had this and #13 running as patches on gall, thinking that they don't do much. However, since rolling out the latest master this morning with the two patches removed there was a noticeable drop in throughput: https://munin.gall.openstreetmap.de/localdomain/localhost.localdomain/osm_db_request_count.html