Enable the Safari debug menu

Safari has a hidden Debug-menu that offers some options for debugging the browser. The debug menu is different from the Developer menu. You can perform load and stress tests en additional logging features.

Quit Safari and type:

defaults write com.apple.Safari IncludeInternalDebugMenu 1

Revert to the default setting:

defaults write com.apple.Safari IncludeInternalDebugMenu 0