[SERVER-85828] Optimize CurOpStack construction and destruction Created: 27/Jan/24  Updated: 06/Feb/24

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

Type: Improvement Priority: Major - P3
Reporter: Patrick Freed Assignee: Dominic Hernandez
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-81848 Make decoration construction eager again Closed
related to SERVER-85325 Classify `OpCtx` decorations based on... Closed
Assigned Teams:
Service Arch
Sprint: Service Arch 2024-02-19
Participants:

 Description   

CurOpStack is by far the most expensive decoration on OperationContext, both in construction time and destruction time. We should investigate any possible way to optimize construction and destruction of CurOp and CurOpStack, as this would provide a performance benefit for all operations.

For details, see SERVER-81848 and the comments on SERVER-85325.


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