What’s your interest rate, how much do you currently have invested, will you be putting anything in investments during that time?
Paying off in 2.5 years is pretty sporty. Most people can’t do it that fast, which changes the equation a little (in my opinion).
I accelerated payments and have been mortgage free for 5 years. It took me 8 years (would have been 5 or less but divorce got in the way). During that time I still maxed out my Roth IRA and contributed 15% to my 401k. At the time I was not planning to retire early and was projecting millions in my accounts when I retired, so I was looking for something else to spend my money on, and the 6% (then 4%) mortgage was it.
If I had planned on early retirement at the time, I probably would have decided to invest instead. Still, I like having a paid off house, and do not regret it in the least.