Both will kill microbes so it's a wash (no pun intended) in terms of disinfecting ability.
In terms of ability to solvate grime, alcohol is the clear winner. Oil and dirt is much more soluble alcohol than a 2% solution if peroxide. A 2% solution of peroxide will have about the same solvating ability of pure water (not very good for oil).
Generally speaking, I would reach for the alcohol.