Async Operation Load Time Accuracy via Repeating Pattern Removal
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining user interface load times are inaccurate due to the inclusion of repeating async operations, which can create miscalculations by continuously reloading and making it appear that the interface has not completed loading.
Innovation Solution
A system comprising a monitor engine, detection engine, removal engine, and calculation engine that identifies and removes repeating async operations, calculates the total load time based on the greatest end time of non-repeating async operations, and bubbles up completed operations to a parent loader, providing a more accurate user interface load time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If repeating async operations are included in load time calculation, then the calculation covers all operations, but the load time becomes inaccurate due to continuous reloading
Solution Approach 1:
The patent extracts and removes repeating async operations from the load time calculation set. The detection engine identifies operations that continuously reload and excludes them from the final load time measurement, thereby improving accuracy without requiring complete abandonment of comprehensive monitoring
Solution Approach 2:
The patent introduces intermediate engines (detection engine, removal engine) that act as mediators between the comprehensive operation monitoring system and the final load time calculation. These intermediaries filter out repeating operations while allowing non-repeating operations to pass through to the calculation engine
2Reliability
If all async operations are monitored to calculate total load time, then comprehensive coverage is achieved, but repeating operations cause miscalculation by making interface appear not loaded
Solution Approach 1:
The detection engine performs preliminary identification of repeating async operations before they affect the load time calculation. By detecting and flagging repeating operations in advance, the system prevents them from causing miscalculations rather than correcting them after the fact
Solution Approach 2:
The system implements feedback mechanisms where the detection engine continuously monitors async operations and provides feedback to the removal engine about which operations are repeating. This feedback loop ensures that only non-repeating operations contribute to the final load time measurement
Data Source
AI summary
In one implementation, a system for user action duration includes a monitor engine to monitor a number of async operations to be loaded on a user interface, a detection engine to determine a repeating async operation from the number of async operations that has a pattern of repeating timeouts, a removal engine to remove the repeating async operation from the number of async operations, and a calculation engine to calculate a total time for the remaining number of async operations based on a total timeout of each of the remaining number of async operations.


