History tells us that nonviolent protest have been the more successful of the two, and there are many notable examples. Gandhi himself aimed to achieve his goal of bringing freedom to India through nonviolence, and he definitely succeeded in that. Martin Luther King and the Civil Rights Movement, following Gandhi's teachings, also succeeded in bringing an end to racial segregation in the USA.
On the other hand, we have witnessed the violent riots that occurred in BiH