Skip to content

Commit

Permalink
Remove big data sizes on web
Browse files Browse the repository at this point in the history
  • Loading branch information
vypxl committed Jan 30, 2022
1 parent 3d43a5f commit 3c4dd7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/viz.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@ class Viz {

/* Set new style display name here */
};

#ifdef __EMSCRIPTEN__
static const int dataSizesCount = 6;
const int dataSizes[dataSizesCount] { 16, 256, 1000, 5000, 50000, 500000 };
#else
static const int dataSizesCount = 7;
const int dataSizes[dataSizesCount] { 16, 256, 1000, 5000, 50000, 500000, 1000000 };
#endif

ArrayWrapper *data = nullptr;
bool running = false;
Expand Down

0 comments on commit 3c4dd7b

Please sign in to comment.