Ryzen 5 2600 vs Ryzen 5 3500

What one would be better in terms of performance

Nice to see your first post member @Priyam :+1:

for which purpose you want to use ??