I’d recommend a couple of days in Denpasar, at most. There are plenty of other epic places to explore in Bali. Denpasar is a good starting point to familiarise yourself with the country, culture, currency, etc. After that though, I’d get out and explore the rest of the island and beyond!