Performance tweaking and testing.