-
-
Save cheriimoya/595e31419776f5686daf36a1d91b5255 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
if (!File.Exists("benchmark.bin")) { | |
PerformanceMark newBenchmark = Connector.DoBenchmark(); | |
File.WriteAllBytes("benchmark.bin", Connector.SaveBenchmark()); | |
} else { | |
Connector.LoadBenchmark(File.ReadAllBytes("benchmark.bin")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment