Skip to content

Instantly share code, notes, and snippets.

@GRGSIBERIA
Forked from nishio/siv3d_bench.cpp
Last active December 2, 2016 14:15
Show Gist options
  • Save GRGSIBERIA/e990bc35cd7f9b90f73c2d2a96ce44db to your computer and use it in GitHub Desktop.
Save GRGSIBERIA/e990bc35cd7f9b90f73c2d2a96ce44db to your computer and use it in GitHub Desktop.
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