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

Added run_bechnmark function #303

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Added run_bechnmark function #303

merged 1 commit into from
Aug 13, 2024

Conversation

vo-nil
Copy link
Contributor

@vo-nil vo-nil commented Aug 12, 2024

Added templated function run_benchmark<group_type...>(lambda).

It initializes samples array of given template types and runs series of calls to lambda. Samples are traversed with strides so they do not sit in cache.

After the benchmark the statistics are printed to std::cout.

@vo-nil vo-nil requested a review from martun August 12, 2024 07:40
@vo-nil vo-nil self-assigned this Aug 12, 2024
@vo-nil vo-nil force-pushed the bench-rework branch 4 times, most recently from beb7504 to 8e197ce Compare August 12, 2024 09:55
It initializes samples array of given template types and runs series of
calls to lambda. Samples are traversed with strides so they do not sit
in cache.

After the benchmark the statistics are printed to std::cout.

renamed folder, moved profiler to benchmark_tools

Moved scoped profiler to benchmark_tools

Fix warnings

Doubled in place

Moved benchmarks upper
@vo-nil vo-nil merged commit 5b7e1ff into master Aug 13, 2024
2 checks passed
@vo-nil vo-nil deleted the bench-rework branch August 13, 2024 10:50
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