You are comparing their numbers in the year they signed? Their total numbers up until the time they signed?
Total numbers up until they signed their post-ELC contract.
Are you taking into account performance relative to peers? You can't just throw numbers out with no context.
When you adjust for ES scoring rates of the era:
ES Points/GP
Malkin: 0.73
Matthews: 0.67
ES Goals/GP:
Matthews: 0.39
Malkin: 0.31
Malkin pulls ahead in overall ES production, while still being far behind in goal-scoring. When you consider the linemates that Matthews has had (even aside from other linemates, Malkin did spend a not insignificant amount of time with Crosby), his primary point production, his superior goal-scoring ability, his superior PP production, all at a younger age, I don't know how you come to the conclusion that Malkin was better.
Also the fact that Malkin did his numbers over more games is material
The sample size for Matthews was bigger than it was for Malkin.
Also, you had to go back over 10 years (to the early days of the salary cap) to find any sort of a comparable which is saying something about Matthews contract.
No, it says something about Matthews the player, and how badly people are at evaluating contracts. We didn't have a talent like this enter the league for a long time.
Even when adjusted for era, Matthews is the 5th best ES producer at time of signing his post-ELC contract in the entire cap era, behind McDavid, Crosby, Malkin, and Ovechkin, while being one of the best PP producers and the best goal-scorer.