Cooked a valve or ring?
What a statement!
If you "cooked" a valve you would know it. You would have ZERO compression.
If the top piston ring broke you would hear it and you would have ZERO compression.
OR was it out of oil too?
When I worked at a Honda dealer a tech held the throttle of his bike wide open until the valves started to float, which brought the RPM Down.