[SERVER-75866] Performance experiment: Memoize duplicate-field check performed in IDL-generated parsers Created: 07/Apr/23  Updated: 18/Apr/23  Resolved: 18/Apr/23

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

Type: Engineering Test Priority: Major - P3
Reporter: Vojislav Stojkovic Assignee: Alex Li
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File SERVER-75866-diff     File SERVER-75866.csv     PNG File image-2023-04-17-01-34-42-048.png     PNG File image-2023-04-17-01-40-37-460.png    
Sprint: Service Arch 2023-04-17, Service Arch 2023-05-01
Participants:

 Description   

As described in SERVER-75864, parsers generated from IDL perform a check to see if the BSON object they're parsing contains duplicate fields. This check is performed multiple times for the same BSON object by different parsers.

The goal of this ticket is to do preliminary performance testing to check whether memoizing this validation so that it's performed no more than once for each BSON object would yield any performance improvements.


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