Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update benchmarks #43

Merged
merged 5 commits into from May 15, 2017

Conversation

@ama0
Copy link
Contributor

commented May 14, 2017

  • Add sc_graph_aligned bench to compare aligned and spread data distribution
  • Add ecs_pos_vel_spread to have a more realistic bench for entity composition (not only aligned data)
  • Add bench_setup to have a common file with all numbers and stuff

Note: I changed the N_POS and N_POS_VEL values to 15,000 and 5,000 to make the benchmark runtime a little bit higher and better show the difference between spread and aligned data.
With small numbers like 9,000 and 1,000 the difference is smaller then cargo bench's performance fluctuation. Of course the difference becomes more distinct with higher values. It's just a balance between a long wait and more obvious numbers 🙂

@vitvakatu
Copy link
Collaborator

left a comment

👍

@kvark

kvark approved these changes May 15, 2017

@kvark kvark merged commit 2cc4c27 into kvark:master May 15, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.