Across comparable stats, Roshan Mahanama leads 13–5.
Test
| Roshan Mahanama | Stat | Dirk Viljoen |
|---|---|---|
| 52 | Matches | 2 |
| 89 | Innings | 4 |
| 2576 | Runs | 57 |
| 29.27 | Average | 14.25 |
| - | Strike rate | 32.75 |
| 225 | Highest | 38 |
| 4 | Hundreds | 0 |
| 11 | Fifties | 0 |
| - | Fours | 6 |
| 2 | Sixes | 0 |
| 0 | Wickets | 1 |
| - | Bowling average | 65.00 |
| 5.00 | Economy | 3.71 |
| - | Best bowling | 1/14 |
| 0 | 5 wickets | 0 |
ODI
| Roshan Mahanama | Stat | Dirk Viljoen |
|---|---|---|
| 213 | Matches | 53 |
| 198 | Innings | 43 |
| 5162 | Runs | 512 |
| 29.49 | Average | 14.22 |
| 60.57 | Strike rate | 61.91 |
| 119* | Highest | 63* |
| 4 | Hundreds | 0 |
| 35 | Fifties | 2 |
| - | Fours | 26 |
| - | Sixes | 5 |
| 0 | Wickets | 44 |
| - | Bowling average | 37.25 |
| 21.00 | Economy | 4.73 |
| - | Best bowling | 3/20 |
| 0 | 5 wickets | 0 |