FHIR icon indicating copy to clipboard operation
FHIR copied to clipboard

Change calculation for Bulk Data in-flight message

Open d0roppe opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] When importing more than 2000 resources the in-flight message shows a calculation of resources/millisecond. This is a odd number when looking at the message if it takes more than 1 millisecond to import a resource. if that is the case we should calculate milliseconds/resource import rate.
Current message: Import in-fly rate: [8/8/file1.ndjson/DocumentReference] reportingThreshold=[2000] resources=[2040] imported in 141913 milliseconds, ImportRate: [0.014] Resources/milliseconds

Describe the solution you'd like Report the rate in resources/second instead.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Acceptance Criteria

  1. GIVEN [a precondition] AND [another precondition] WHEN [test step] AND [test step] THEN [verification step] AND [verification step]

Additional context Add any other context or screenshots about the feature request here.

d0roppe avatar Feb 24 '22 18:02 d0roppe

I had the same thought while reviewing. resources/second seems the most logical to me.

lmsurpre avatar Feb 24 '22 18:02 lmsurpre