storage/engine: reenable the Seek optimization #7016
Merged
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.
Primarily affects conditional-put heavy transactions where there is an
existing value.
Fixes #6980.
name old time/op new time/op delta
Update1_Cockroach-8 356µs ± 2% 348µs ± 1% -2.42% (p=0.000 n=10+10)
Update10_Cockroach-8 647µs ± 2% 619µs ± 2% -4.33% (p=0.000 n=9+10)
Update100_Cockroach-8 2.92ms ± 2% 2.67ms ± 3% -8.54% (p=0.000 n=10+10)
Update1000_Cockroach-8 24.5ms ± 1% 22.3ms ± 2% -8.91% (p=0.000 n=10+10)
This change is