Runs a simulation useful for verifing how often a temporary file name will contain the word 'fail'.
Generate 5 million strings consisting of 6 random alphanumeric characters (lower and uppercase, 0-9). For any of them that contain the word 'fail' regardless of case, print it out along with the iteration it was generated on.
If you update these, update them ALL on the same machine with nothing else running.
- C - 0.767 seconds
- JS - 3.154 seconds
- Go - 5.494 seconds
- Ruby - 25.851 seconds
- PHP - 27.567 seconds
- Python - 32.500 seconds