Good to give mains respect. It can deliver kilowatts of power without breaking a sweat, and breakers are slow enough you could see multiple joules of energy into your device. It's an expert magic smoke emancipator.
Disagree on the surprise that the setup worked, though. Mains is only regulated to a few % in frequency from what I've read. But you can see 0.05 Hz deviations (or 1%aka 1000 ppm). Even a junky crystal at ~100ppm is an order of magnitude better. A 10 ppm oscillator isn't hard to find, so the computer is likely somewhere in the middle. The math all checks out.
replies(2):