I judge what homework I should do based on the class it is, how the teacher grades it, when it's due, and what else I'd rather be doing it. Through careful analysis I am able to spend a lot less time doing homework while maintaining really good grades.
Not that I have that much homework anyway :P