How expensive is line trace ?

I’m trying to the normal vectors of the walls my character is colliding with. Would you recommend that I use the sphere trace for that? if not can you tell me if about more efficient ways to implement this. I’m looking to develop for the switch and I want to squeeze out any performance that I can. Thank you very much