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

perf: fast benchmark mapping #1256

Merged
merged 1 commit into from
Aug 2, 2018
Merged

Conversation

3Hren
Copy link
Member

@3Hren 3Hren commented Aug 2, 2018

Added smart benchmark mapping alrorithm, which indexes benchmarks in a flat map backed with array.
This increases performance of genetic algorithm in 2-4 times.

Before (optimized 450 orders in 4m49.033336829s):
Alt text

After: (optimized 452 orders in 1m20.653263813s):
Alt text

Added smart benchmark mapping alrorithm, which indexes benchmarks in a flat map backed with array.
This increases performance of genetic algorithm in 2-3 times.
@3Hren 3Hren added T: feature This PR/Issue adds a new feature S: Optimus This PR/Issue changes Optimus P: medium This PR/Issue has normal priority V: minor This PR/Issue required minor version to be bumped labels Aug 2, 2018
@3Hren 3Hren merged commit 331ab31 into master Aug 2, 2018
@3Hren 3Hren deleted the perf/optimus/fast-benchmark-mapping branch August 2, 2018 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: medium This PR/Issue has normal priority S: Optimus This PR/Issue changes Optimus T: feature This PR/Issue adds a new feature V: minor This PR/Issue required minor version to be bumped
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant