-
-
Save GRGSIBERIA/e990bc35cd7f9b90f73c2d2a96ce44db 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
std::vector<Texture> pageTextures; | |
void benchmark() { | |
Stopwatch stopwatch; | |
Profiler::EnableWarning(false); | |
stopwatch.start(); | |
for (int i = 0; i < 100; i++) { | |
const String filename = Format(L"パス/pages_", i + 1, L".png"); | |
pageTextures.emplace_back(filename); | |
} | |
Println(stopwatch.ms()); // 11471ms | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment