Investment property vs index funds?

Anyone have any thoughts on this?

I have tried comparing before but there are a lot of variables to decide which is better long. The main benefit of property is the cheap(er) leverage, and tax benefits, but indexing historically has higher returns.

I think I saw a calculator on this somewhere subreddit a while ago?

What would you choose and why?