I remember when I used to have swap enabled. It used to be very slow, back in the days when we used swap in mechanical drives. The computer would just freeze for a second while swapping, lol.
So I'm having some trouble wrapping my head around why swapping would not be something you want to avoid—why it would be beneficial for performance. If you can prevent the need for swapping, that's the best outcome, surely? The only solution to which would be to have enough pure RAM installed in the system.
But I think I get you? You mean you "want" to swap when the memory runs out?