generally u will get a little more performance from going from 5th gen to 6th gen
......
in this case
i3 6100U (6th gen) is clocked higher 2.3ghz and has better integarted graphics hd520
and
i3 5005U (5th gen) is clocked lower 2.0ghz and has little slower integrated graphics.
so 6th gen laptop...