[SERVER-69985] Investigate $sortArray performance in SBE Created: 26/Sep/22  Updated: 07/Nov/22  Resolved: 07/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: pm2697-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File classic_numbers_100_asc.svg     File classic_numbers_100_desc.svg     File classic_numbers_10_asc.svg     File classic_numbers_10_desc.svg     File classic_objects_100_asc.svg     File classic_objects_100_desc.svg     File classic_objects_10_asc.svg     File classic_objects_10_desc.svg     File classic_strings_100_asc.svg     File classic_strings_100_desc.svg     File classic_strings_10_asc.svg     File classic_strings_10_desc.svg     File sbe_numbers_100_asc.svg     File sbe_numbers_100_desc.svg     File sbe_numbers_10_asc.svg     File sbe_numbers_10_desc.svg     File sbe_objects_100_asc.svg     File sbe_objects_100_desc.svg     File sbe_objects_10_asc.svg     File sbe_objects_10_desc.svg     File sbe_strings_100_asc.svg     File sbe_strings_100_desc.svg     File sbe_strings_10_asc.svg     File sbe_strings_10_desc.svg    
Issue Links:
Problem/Incident
causes SERVER-71072 Change SBEPatternValueCmp to save asc... Closed
Sprint: QE 2022-10-17, QE 2022-10-31, QE 2022-11-14
Participants:
Story Points: 8

 Description   

classic_numbers_100_desc.svgThis task covers at least the following microbenchmarks, in pipelines.js:

Aggregation.Project.SortArray_100_Asc -10.48096358
Aggregation.Project.SortArray_100_Desc -10.0856805
Aggregation.Project.SortArray_StringArray_10_Desc -17.30079302


 Comments   
Comment by Dianna Hohensee (Inactive) [ 03/Nov/22 ]

SpunĀ SERVER-71074 off to document the sortable sbe::Array attempt.

Filed SERVER-71072 for a performance improvement.

Comment by David Storch [ 26/Sep/22 ]

There are also IdentityView benchmarks that have a regression which I would expect to have similar perf properties and also be fixed by this ticket.

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