Performance considerations

Linking with shared libraries results in a smaller executable and is faster than linking with static libraries. However, executables that link with shared libraries may be slower at start-up time than those that link with static libraries. Unlike static libraries, shared libraries must be available at runtime.

Your individual site requirements determine the type of library that provides the best performance.