It seems tor has been compromised more times. Due to its size, all the worlds secret nation state actors are actively hammering away at it. Have not heard about any major stories where i2p has been cracked.
Strangely enough, i2p for me, has always been about 10x slower than tor. Haven't checked it out for 1-2 years so could be they have caught up.