What would be your basis if claim for asylum? From your other posts you seem to have decided Canada is a place you would like to remain. If you do not have valid reasons for claiming asylum, ultimately you will be removed. Asylum is not for a means for easy entry into Canada. Keep in mind, if you do claim asylum, you can’t return to Pakistan.
It would take about 2 years before they determine your claim is valid. Add another 2 years before you got Permenent residence (assuming your claim is accepted). Given your education, you could probably immigrate faster and have PR status in about a year.