This is a static copy of a profile report

Home

isUniqueNumeric (Calls: 38634, Time: 0.125 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\isUniqueNumeric.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...ension>tabularDimension.selectFromclass method38634
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
tf = all(diff(sort(x(:))));
386340.080 s64.1%
11
end
386340.006 s4.7%
All other lines  0.039 s31.2%
Totals  0.125 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function11
Non-code lines (comments, blank lines)9
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function tf = isUniqueNumeric(x)  %#codegen
   2 
% ISUNIQUENUMERIC check if a numeric array contains only unique elements
   3 
%    TF = ISUNIQUENUMERIC(X) returns true if a numeric array X contains 
   4 
%    only unique elements and false otherwise. ISUNIQUENUMERIC does not
   5 
%    check for correct type, error conditions, nor return index of unique
   6 
%    elements.
   7 
   
   8 
%   Copyright 2014-2019 The MathWorks, Inc.
   9 

  0.080 
  38634 
  10
   tf = all(diff(sort(x(:)))); 
  0.006 
  38634 
  11
end 

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