This entirely depends on your goals, but if you are trying to lose weight then boxing will help you see results in a shorter space of time, simply because it burns more calories. That being said, boxing training won't help you increase muscle mass in the same way that weightlifting does.  For maximum benefits, you would combine the two in your fitness regimen, performing different workouts on separate days to build muscle and maintain a healthy weight.