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

[Question]how to test speed of "Contain" by -O3 -march=native? #44

Open
huawendi opened this issue Mar 6, 2022 · 0 comments
Open

[Question]how to test speed of "Contain" by -O3 -march=native? #44

huawendi opened this issue Mar 6, 2022 · 0 comments

Comments

@huawendi
Copy link

huawendi commented Mar 6, 2022

I use the code to test the speed of looking up alien items, but the result is very high. Is it optimized by the compiler? How should I do ?
start = chrono::steady_clock::now(); for (size_t i = 0; i < num_inserted; ++i) { filter.Contain(aliens[i]); } end = chrono::steady_clock::now(); find_time = end - start;

image

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