Pro tools and Keyboard Maestro Lagginess

Hi there, I have been using KBM and Pro tools for the last 2 years on Mavericks 10.9.2. absolutely fine no problems.
Lately I installed Yosemite 10.10.3 and El Capitan and i have similar problems on both OS. When the playhead is playing KBM has some serious lag, its probably half as fast in applying the macro. If i have a Plug In open its even slower. On Mavericks with exactly same software and plugin is fine. but yosemite and el capitan, is very slow. any clues?

thanks