This is a static copy of a profile report

Home

isColon (Calls: 151241, Time: 0.157 s)
Generated 04-Jun-2021 04:11:12 using performance time.
function in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\shared\matlab_datatypes\+matlab\+internal\+datatypes\isColon.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...mension>tabularDimension.subs2indsclass method75763
varNamesDim>varNamesDim.subs2indsclass method70088
tabular.subsrefDotfunction5390
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
tf = (ischar(s) || isstring(s)...
1512410.019 s12.4%
All other lines  0.138 s87.6%
Totals  0.157 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)8
Code lines (lines that can run)1
Code lines that did run1
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function tf = isColon(s)   %#codegen
   2 
%ISCOLON Check if a subscript is ':'.
   3 
%   TF = ISCOLON(S) returns true if S is the scalar char ':' or the scalar
   4 
%   string ":". Otherwise ISCOLON returns false.
   5 

   6 
%   Copyright 2012-2019 The MathWorks, Inc.
   7 

   8 
% Check type first to reject 58 and {':'}.
  0.019 
 151241 
   9
tf = (ischar(s) || isstring(s)) && isscalar(s) && (s == ':'); 

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