Best part of (something)

To be almost all of something.

We spent the best part of a day trying to fix the computer.