cycles slow building BVH

Hi guys,
I would like to ask you how to get faster building BVH in cycles.
When I use view render mode, the building BVH takes about 5 second, but when I press F12, it takes about 2 minutes.
Could you tell me how to solve this problem?

Thank you very much.