Across comparable stats, Dirk Viljoen leads 10–12.

Test

Sajid MahmoodStatDirk Viljoen
8 Matches 2
11 Innings 4
81 Runs 57
8.10 Average 14.25
50.31 Strike rate 32.75
34 Highest 38
0 Hundreds 0
0 Fifties 0
10 Fours 6
0 Sixes 0
20 Wickets 1
38.10 Bowling average 65.00
4.04 Economy 3.71
4/22 Best bowling 1/14
2 5 wickets 0

ODI

Sajid MahmoodStatDirk Viljoen
26 Matches 53
15 Innings 43
85 Runs 512
7.72 Average 14.22
84.15 Strike rate 61.91
22* Highest 63*
0 Hundreds 0
0 Fifties 2
8 Fours 26
1 Sixes 5
30 Wickets 44
38.96 Bowling average 37.25
5.85 Economy 4.73
4/50 Best bowling 3/20
1 5 wickets 0

T20I

Sajid MahmoodStatDirk Viljoen
4 Matches -
2 Innings -
1 Runs -
50.00 Strike rate -
1* Highest -
0 Hundreds -
0 Fifties -
0 Fours -
0 Sixes -
3 Wickets -
51.66 Bowling average -
11.07 Economy -
1/31 Best bowling -
0 5 wickets -