Codeunit 135104 Perf. Profiler Test Library

System Application Test Library, System.TestLibraries.Tooling

Source AL, 241 lines

src/System Application/Test Library/Performance Profiler/src/PerfProfilerTestLibrary.Codeunit.allines 14 to 29 of 241, Copyright (c) Microsoft Corporation. MIT

codeunit 135104 "Perf. Profiler Test Library"{    var        ProfilingDataProcessor: Codeunit "Profiling Data Processor";    /// <summary>    /// Initializes the profiling data processor with the default test profiling data.    /// </summary>    procedure Initialize()    begin        Initialize(GetTestPerformanceProfile());    end;    /// <summary>    /// Initializes the profiling data processor with the test profiling data, allowing to load a specific profile required for a test.    /// </summary>

All 241 lines

Public procedures 14 in 29

Initialize()new in 20
Initialize(var RawProfilingNode: Record "Profiling Node"; var CallTreeProfilingNode: Record "Profiling Node")new in 20
ClearData()new in 20
IsInitialized(): Booleannew in 20
GetTestPerformanceProfile(): Textnew in 20
InsertProfilingNode(var ProfilingNode: Record "Profiling Node"; SessionID: Integer; No: Integer; HitCount: Integer; ObjectTypeText: Text[250]; ObjectID: Integer; ObjectName: Text[250]; AppName: Text[250]; AppPublisher: Text[250]; LineNo: Integer; MethodName: Text[250]; SelfTime: Duration; FullTime: Duration; Indentation: Integer)new in 20

All 19 procedures in 20-29

Changes 10 in 23

List17181920212223242526272829
Procedures210
GetSelfTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type")20 to 22
gone
GetSelfTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"; FilterText: Text)20 to 22
gone
GetFullTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type")20 to 22
gone
GetUniqueIdentifierByAggregationType(ProfilingNode: Record "Profiling Node"; ProfilingAggregationType: Enum "Profiling Aggregation Type"): Text20 to 22
gone
GetChartData(ProfilingAggregationType: Enum "Profiling Aggregation Type"; AggregateBySelfTime: Boolean; ChartLabels: List of [Text]; ChartValues: List of [Integer])20 to 22
gone
GetSelfTimeAggregate(var AggregatedProfilingNode: Record "Profiling Node"; TestProfilingAggregationType: Enum "Test Prof. Aggregation Type")new in 23
added

All 12 changes in 20-29