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

Part of move-exercise is optimized-away #16

Open
xtofl opened this issue Mar 17, 2019 · 0 comments
Open

Part of move-exercise is optimized-away #16

xtofl opened this issue Mar 17, 2019 · 0 comments

Comments

@xtofl
Copy link
Owner

xtofl commented Mar 17, 2019

The exercise called 'speed_this_up_by_adding_move_support' has a duration call for a lambda that seems to be compiled away in release builds.

The expectation

    EXPECT_LT(consuming_objects, constructing_objects * 1.1)
        << "consuming: " << consuming_objects
        << " vs. constructing: " << constructing_objects

becomes impossible to meet (consuming: ~1500ms vs. constructing: ~13ms)

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

No branches or pull requests

1 participant