Which of these is an experiment generally regarded as being first carried out by James Joule?

observing that objects increase in temperature when heated with fire

showing that friction slows down the motion of objects

measuring the temperature increase of water from doing work stirring it

testing the mechanical advantage of pulleys