mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Revise performance measurement naming and structure (#2265)
* Revise performance measurement naming and structure - Revises naming from LayoutSpecGeneration to LayoutSpecComputation - Adds a struct instead of an NSDictionary to retrieve performance metrics - Includes ASEnvironmentStatePropagateDown in LayoutSpecComputation measurements * Revise SumScopeTimer to include enable flag * Make struct a typedef
This commit is contained in:
committed by
Adlai Holler
parent
5990376f68
commit
71fc2dd18d
@@ -171,9 +171,9 @@ FOUNDATION_EXPORT NSString * const ASRenderingEngineDidDisplayNodesScheduledBefo
|
||||
// performance measurement
|
||||
ASDisplayNodePerformanceMeasurementOptions _measurementOptions;
|
||||
NSTimeInterval _layoutSpecTotalTime;
|
||||
NSUInteger _layoutSpecNumberOfPasses;
|
||||
NSTimeInterval _layoutGenerationTotalTime;
|
||||
NSUInteger _layoutGenerationNumberOfPasses;
|
||||
NSInteger _layoutSpecNumberOfPasses;
|
||||
NSTimeInterval _layoutComputationTotalTime;
|
||||
NSInteger _layoutComputationNumberOfPasses;
|
||||
|
||||
#if TIME_DISPLAYNODE_OPS
|
||||
@public
|
||||
|
||||
Reference in New Issue
Block a user