Compiling take more then 10 minutes

When I compile my kernel in release mode it take more then 10 minutes. Is that because of optimizations? Or is the size of the kernel an important factor?

maybe your kernel is very big?