Across comparable stats, Khaled Mashud leads 3–14.
Test
| Dirk Viljoen | Stat | Khaled Mashud |
|---|---|---|
| 2 | Matches | 44 |
| 4 | Innings | 84 |
| 57 | Runs | 1409 |
| 14.25 | Average | 19.04 |
| 32.75 | Strike rate | 34.06 |
| 38 | Highest | 103* |
| 0 | Hundreds | 1 |
| 0 | Fifties | 3 |
| 6 | Fours | 147 |
| 0 | Sixes | 1 |
| 1 | Wickets | 0 |
| 65.00 | Bowling average | - |
| 3.71 | Economy | - |
| 1/14 | Best bowling | - |
| 0 | 5 wickets | 0 |
ODI
| Dirk Viljoen | Stat | Khaled Mashud |
|---|---|---|
| 53 | Matches | 126 |
| 43 | Innings | 110 |
| 512 | Runs | 1818 |
| 14.22 | Average | 21.90 |
| 61.91 | Strike rate | 54.84 |
| 63* | Highest | 71* |
| 0 | Hundreds | 0 |
| 2 | Fifties | 7 |
| 26 | Fours | - |
| 5 | Sixes | - |
| 44 | Wickets | 0 |
| 37.25 | Bowling average | - |
| 4.73 | Economy | - |
| 3/20 | Best bowling | - |
| 0 | 5 wickets | 0 |