This repo contains examples of supposedly constant-time string comparison functions, and has code to time them and to plot the times. The stats generation code should work on any version of Python >= ...