Performance considerations

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

The individual requirements of your site determine which type of library will provide the best performance.