On my computer, results are as follows (several runs):
Implementation 1: 0.51096861 s
Implementation 2: 0.08305151000000001 s
Implementation 1: 0.49112112700000005 s
Implementation 2: 0.06993395000000001 s
Implementation 1: 0.5380552780000001 s
Implementation 2: 0.083535994 s