This is a static copy of a profile report

Home

ArgumentParser>ArgumentParser.checkAlias (Calls: 2, Time: 0.001 s)
Generated 04-Jun-2021 04:11:05 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+validators\ArgumentParser.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...r>ArgumentParser.canonicalizeNamesclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
176
if any(strcmpi(c,aliases{kk}(2...
100.000 s38.9%
180
end
100.000 s20.7%
174
aliases = obj.Aliases;
20.000 s13.0%
175
for kk = 1:numel(aliases)
20.000 s10.2%
181
end
20.000 s0.5%
All other lines  0.000 s16.8%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function14
Non-code lines (comments, blank lines)6
Code lines (lines that can run)8
Code lines that did run6
Code lines that did not run2
Coverage (did run/can run)75.00 %
Function listing
time 
Calls 
 line
 168 
        function c = checkAlias(obj,c)
 169 
        % If a parameter has an alias, replace it with the correct name
 170 
        % This combines the alias lists of all the elements into one list.
 171 
        % If two interfaces define the same alias value, only the first one
 172 
        % will be used.
 173 
        % Aliases are case insensitive, but not partial matched.
< 0.001 
      2 
 174
        aliases = obj.Aliases; 
< 0.001 
      2 
 175
        for kk = 1:numel(aliases) 
< 0.001 
     10 
 176
            if any(strcmpi(c,aliases{kk}(2:end))) 
 177 
                c = aliases{kk}(1);
 178 
                return 
< 0.001 
     10 
 179
            end 
< 0.001 
     10 
 180
        end 
< 0.001 
      2 
 181
        end 

Other subfunctions in this file are not included in this listing.