"Temperature is the measure of the average kinetic energy of the particles in a substance, which is related to how hot or cold that substance is. Historically, two equivalent concepts of temperature have developed, the thermodynamic description and a microscopic explanation based on statistical physics"
Mass does not affect the pendulum's swing. The longer the length of string, the farther the pendulum falls; and therefore, the longer the period, or back and forth swing of the pendulum. The greater the amplitude, or angle, the farther the pendulum falls; and therefore, the longer the period.