The i5 6400 is faster than the R3 3200g.
The i5 6400 is faster than the R3 3200g.
The Ryzen offers better performance, so upgrading isn't necessary unless your setup fails; otherwise, it keeps you ahead. If your system malfunctions and you need a replacement, Ryzen is the clear choice.
The variation is minor. Upgrading will provide enhanced functionality.