2008 Sirion 1.5 revs problem

Forum: 

Good day all.

This is my first post as this is the first time I got a mechanical problem on my Sirion 1.5.

While driving if you accelerate to fast or trying to overtake another car the revs just jump to about 5000 rpm and then drops down no increase in speed actually feels as if it loosing power.

This only happens when you are driving and not when the car is at standstill in neutral.

Had the car on a diagnostic machine and gives me no fault code.

Maybe the air flow meter or what do you guys think?