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

Passing by #21

Closed
wants to merge 4 commits into from
Closed

Passing by #21

wants to merge 4 commits into from

Conversation

FoxLisk
Copy link
Collaborator

@FoxLisk FoxLisk commented Jul 4, 2016

Implementing the final part of the official game spec.

This is unfortunately a very heavy performance hit. I'm not seeing anything obvious that i did stupidly, but I did see kickoff benchmarks increase by ~30%, which is a bummer.

FoxLisk added 4 commits July 4, 2016 09:00
This is a pretty serious performance hit: i'm seeing up to maybe 30%
longer benchmarks for some kickoffs. Passing by is absolutely critical,
of course, but I wonder if I'm missing some performance improvements.
@zackmdavis
Copy link
Owner

Thanks!! (I don't like the WIP commits, so I'm going to squash these before merging.)

@zackmdavis
Copy link
Owner

The performance hit looks fine on my machine (~2%) for the depth-3 kickoff, which is the one I've been paying the most attention to.

test mind::tests::benchmark_kickoff_depth_3
           ... bench:  14,995,064 ns/iter (+/- 1,666,455)
test mind::tests::benchmark_kickoff_depth_3
           ... bench:  15,270,913 ns/iter (+/- 1,382,373)

@@ -1,4 +1,4 @@
#![feature(non_ascii_idents, pattern, plugin, test, question_mark)]
#![feature(iter_arith, non_ascii_idents, pattern, plugin, test, question_mark)]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iter_arith is stable as of the July 3 nightly (which is part of 1.11.0, as the awesome compiler warning will tell you).

@zackmdavis
Copy link
Owner

💖 418cb0a

@zackmdavis zackmdavis closed this Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants