See
Micro Clock Optimizer
on GitHub