A swap partition is not designed to enhance performance and if your program/data is constantly being swapped from RAM to swap space performance will slow by a factor of hundreds or thousands. This would be called "thrashing".
What the swap technique does is help run a lot of programs in limited RAM space reducing the possibility of an "out of memory" failure. This might be useful in a multi-user system or other server system. Imagine a hundred people logged in and editing some files, they are all working quite slowly and the overhead of swapping from one users data to another as needed may be quite acceptable.
In that way swap helps performance by not having things crash out when they run out of memory!
As has been said before I would not put a swap partition on an SD or USB stick because it is slow and for fear of wearing it out.
I'm looking for moving the raspberry from swap file on sd to swap partition on an external USB HDD.
I created the swap partition and added it to fstab, now what are the right steps to disable swap file and enable swap partition?