-
Type:
Spec Change
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Performance Benchmarking
-
None
-
Not Needed
Summary
C# implements a strong-typed benchmarks variation. Java will consider adding strong typed benchmarks as well.
The current deep_bson structure is not suitable for that due to conflicting data types, properties can be both objects and strings.
Drivers implementing standard benchmarks should not be affected by the change.
Proposing to change the leaf nodes from:
{
"right": {
"right": "...",
"left": "..."
},
"left": {
"right": "...",
"left": "..."
}
}
to
{
"right": {
"rightValue": "...",
"leftValue": "..."
},
"left": {
"rightValue": "...",
"leftValue": "..."
}
}
Motivation
Who is the affected end user?
Drivers implementing strong-typed benchmarks
How does this affect the end user?
How likely is it that this problem or use case will occur?
NA
If the problem does occur, what are the consequences and how severe are they?
NA
Is this issue urgent?
No
Is this ticket required by a downstream team?
No
Is this ticket only for tests?
Yes
Acceptance Criteria
Benchmarks pipeline passing