View Issue Details

IDProjectCategoryView StatusLast Update
0006400Compliance Test Tool (CTT) Unified Architecture6 - Performance Problempublic2021-02-05 16:10
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.03.341.397 
Summary0006400: Optimizing UA Service Calls in library
Description

In the JavaScript library implementation of the UA Service calls there are significant performance issues. The bad performance is the result of multiple functions for validation and trace output which are all running through the list of items individually. This results in the read service call that the complete list of items is run through 5 times. This could be enhanced by optimizing the trace and checks by a combined function call.

Additional Information

E.g. after receiving the ReadResponse:

  1. Validation of the Header --> Compares Timestamps in RequestHeader and ResponseHeader
  2. In a loop for each item: Collect trace output parameters
  3. checkReadError -> Checking OperationResults for unexpected Bad StatusCodes.
    7.1. In a loop for each item: See if the check of the StatusCode for this item should be suppressed
    7.2. In a loop for each item: Look for Bad OperationResults
  4. checkReadValidParameter -> Checking the results with the expectations and generating output
    8.1. In a loop for each item: See if the check of the StatusCode for this item should be suppressed
    8.2 In a loop for each item: Validate the OperationResul with the expectations and generate output
  5. setMonitoredItemsValues -> In a loop for each item: Copy the received values to the JavaScript objects
TagsNo tags attached.
Files Affected

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-01-25 13:02 Alexander Allmendinger New Issue
2021-02-05 16:10 Paul Hunkar Assigned To => Alexander Allmendinger
2021-02-05 16:10 Paul Hunkar Status new => assigned