Here, I will use stats that measure DOMINANCE.
Nolan Ryan was 12% better than the average pitcher during his time.
Pedro Martinez is 67% better than the average pitcher of his time. The best % better of all-time.
Pedro's 5 best ERA seasons
1.74, 1.90, 2.07, 2.22, 2.26
Nolan's 5 best ERA seasons
1.69, 2.28, 2.76, 2.77, 2.89
Pedro's 5 best Adjusted ERA+ seasons
285, 245, 221, 212, 196
Nolan's 5 best Adjusted ERA+ seasons
194, 142, 141, 138, 128
Pedro's 5 best H/9 seasons
5.31, 5.89, 6.48, 6.50, 6.75
Nolan's 5 best H/9 seasons
5.26, 5.88, 5.96, 6.11, 6.14
Pedro's 5 best K/9 seasons
13.21, 12.57, 11.78, 11.37, 10.79
Nolan's 5 best K/9 seasons
11.48, 11.32, 10.57, 10.56, 10.48
Pedro's 5 best WHIP seasons
0.74, 0.92, 0.92, 0.93, 0.93
Nolan's 5 best WHIP seasons
1.01, 1.03, 1.09, 1.13, 1.14
Pedro's 5 best Opponents Batting Average Seasons
.167, .184, .198, .199, .205
Nolan's 5 best Opponents Batting Average Seasons
.171, .172, .187, .188, .188
Pedro's 5 best K/BB seasons
8.88, 8.24, 6.52, 5.83, 4.38
Nolan's 5 best K/BB seasons
3.05, 3.03, 2.98, 2.82, 2.77
Pedro's 5 best W/L% seasons
.852, .833, .778, .750, .731
Nolan's 5 best W/L% seasons
.688, .615, .609, .600, .591
From above, Pedro's MLB records are ERA+, Opponents Batting Average, and WHIP. Nolan's was H/9.