Compensation is set by the market: what is the next person who can do this same job willing to be paid?
If we go out into the market to find all the people that can decrease page loading time by 50% and have them bid against each other, we will probably end up paying the lowest bidder who is capable of the job about the median salary of the profession.
And another point on >the remaining $1.49 million gets distributed amongst execs and investors. People who own equity in the company have legal claim on the cash flows of the business. They balance free cash flows with reinvested capital (assets,, SGA) to sustain free cash flows into the future.