Skip to content

Conversation

viega
Copy link

@viega viega commented Jun 2, 2023

Added wall-time measurement that measures ops/sec. Basically, each thread keeps a count of its own attempts, then reports them before exiting via an atomic fetch and add. Can be turned off with -D NO_STATS, but should be on by default, because the counter increment is negligable; it will not meaningfully impact performance. Also, actually uses CFLAGS when building (the default build was NOT actually invoking -O3).

…read keeps a count of its own attempts, then reports them before exiting via an atomic fetch and add. Can be turned off with -D NO_STATS, but should be on by default, because the counter increment is negligable; it will not meaningfully impact performance. Also, actually uses CFLAGS when building (the default build was NOT actually invoking -O3).
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.

1 participant