[SERVER-72781] Lazily construct sort value only when the sorter decides to store the value Created: 12/Jan/23  Updated: 29/Oct/23  Resolved: 25/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Rui Liu Assignee: Rui Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2023-02-06
Participants:

 Description   

Construct this MaterializedRow only when the sorter decides to store the value in the sort limit case.

Preliminary perf:
https://performance-analyzer.server-tig.prod.corp.mongodb.com/perf-analyzer-viz/?evergreen_version=63c533be3627e07856339268&evergreen_base_version=performance_550e070c93e80bdb4f256dd634128ad919395eb0&metrics_selection=Latency99thPercentile||ops_per_sec||Latency50thPercentile||OperationThroughput||tpmC||NewOrders||Duration||average_read_latency_us||95th_read_latency_us||99th_read_latency_us&determination_filter=Improved&percent_filter=0||100&variant_filter=linux-wt-standalone-sbe&z_filter=0||10



 Comments   
Comment by Githook User [ 25/Jan/23 ]

Author:

{'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}

Message: SERVER-72781 Lazily construct sort value only when the sorter decides to store the value
Branch: master
https://github.com/mongodb/mongo/commit/cd9988487dd10df5e3681fc1c0e09201d389d19c

Generated at Thu Feb 08 06:22:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.