Adapt to change in mysql module

Use a parameter for performance setting instead of subclasses.