-
-
Save gngenius02/9a3cf25a02b53765cca58912365e2448 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Update() | |
{ | |
if (Input.GetKeyDown(KeyCode.Space)) | |
{ | |
Debug.Log("Rolling"); | |
float time = Time.realtimeSinceStartup; | |
for (int i = 0; i < 10000; i++) | |
{ | |
GenerateSHA512String('abc'); | |
} | |
Debug.Log((Time.realtimeSinceStartup-time)*1000+"ms"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment