The pendulum formula
For small swings, a pendulum's full back and forth period is T = 2 pi x sqrt(L / g), where L is the length to the center of mass and g is 9.81 m/s². Mass does not appear: a heavy bob and a light bob of the same length keep the same time.
A length of about 0.99 m gives a two second period, one tick each way. That is the classic seconds pendulum found in tall case clocks.
Why the escapement matters
The anchor escapement, introduced in the 1600s, needs only a small swing. Small swings keep the period very close to the ideal formula, which made pendulum clocks accurate to seconds per day. In this teaching model the escape wheel moves half a tooth at each beat; real pallets also slide and give the pendulum a small impulse.