A piston engine produces more power as engine speed increases. It is constrained a bit by volumetric efficency factors - at high revs air flow inertia reduces BMEP, but the main problem is the capability of the engine to cope with physical loads - there are a lot of reciprocating and unbalanced forces, unlike a jet.