Move performance inside contract.

Performance is explicitly linked to a specific contract, so nesting inside
contract.

Fixes #110