5
Answers

try catch performance hit?

Ask a question
Kevin

Kevin

16y
6.6k
1
Hi there,

Sorry if the question is a bit vague. I have some code surrounded by a try catch. The piece of code can potentially take hours to compute.

I'm wondering is there a performance hit is using a try catch? If there is are we talking a 10% hit? More?

Answers (5)