1function testperf
2%TESTPERF run all performance tests
3
4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
5% SPDX-License-Identifier: Apache-2.0
6
7t = tic ;
8fprintf ('\ntestperf:  run all performance tests\n') ;
9
10test_other ;    % install required packages
11
12debug_off
13
14test26(1) ;     % performance test for GxB_select
15test36 ;        % performance test of matrix subref
16test30 ;        % performance test GB_mex_subassign, scalar expansion
17test30b ;       % performance test GB_mex_assign, scalar expansionb
18test35 ;        % performance test for GrB_extractTuples
19test39 ;        % performance test for GrB_transpose
20test42 ;        % performance tests for GB_mex_Matrix_build
21test43 ;        % performance tests for GB_mex_Matrix_subref
22test46 ;        % performance test GB_mex_subassign
23test48 ;        % performance test of GrB_mxm
24test46b ;       % performance test GB_mex_assign
25test49 ;        % performance test of GrB_mxm (dot product method, A'*B)
26test51 ;        % performance test GB_mex_subassign, multiple ops
27test58(0)       % longer GB_mex_Matrix_eWiseAdd performance test
28test61 ;        % performance test of GrB_eMult
29test68 ;        % performance tests for eWiseMult
30f = [936 2662] ;
31test70 (f) ;    % performance comparison of triangle counting methods
32test71 (f) ;    % performance comparison of triangle counting methods
33test73 ;        % performance of C = A*B, with mask
34test86 ;        % performance of GrB_Matrix_extract
35test52 ;        % performance of A*B with tall matrices, AdotB, AxB
36
37test51b ;       % performance of GrB_assign, multiply operations
38test87 ;        % performance test of GrB_mxm
39test89 ;        % performance test of complex A*B
40test91 ;        % test subref performance on dense vectors
41test95 ;        % performance test for GrB_transpose
42
43test111 ;       % performance test for eWiseAdd
44test113 ;       % performance tests for GrB_kron
45test114 ;       % performance of reduce-to-scalar
46test116 ;       % performance tests C(I,J)=A and C=A(I,J)
47test117 ;       % performance tests C(:,:)<M> += A
48test118 ;       % performance tests C(:,:)<M> = A
49test119 ;       % performance tests C(I,J) += scalar
50test120 ;       % performance tests C(I,J)<!M> += scalar
51test121 ;       % performance tests C(I,J)+=A
52test122 ;       % performance tests C(I,J)<!M> += A
53
54% perfoance test of GrB_mxm on all semirings (just auto method)
55test06(936, [ ], 1, 0) ;
56
57fprintf ('\ntestperf:  all tests passed.  Total te %g\n', toc (t)) ;
58
59