A compression tester does what it says, it tests each cylinder for compression pressure. It simply screws in instead of the spark plug, you disable fuel and ignition, then crank the engine on the starter with the throttle wide open.
If pressures are low then you can pin point problems with piston bores/rings or valve guides/seats or headgasket problems.
I would shell out for one, they are not expensive and are worth having.