Skip to content

Conversation

@jorisdral
Copy link
Collaborator

We add a new measure-batch-latency flag that, if enabled, produces a file with datapoints about the that can be rendered, for example using gnuplot. In sequential mode, the datapoints consist of latency for lookups, and latency for updates separately. In pipelined mode, there are two additional datapoints for the sync latency between threads.

When the flag is disabled, all functions related to latency measurements default to no-ops. These functions are always inlined, and should be optimised away nicely.

@jorisdral jorisdral self-assigned this Oct 31, 2024
@jorisdral jorisdral force-pushed the jdral/plot-wp8-latency branch 2 times, most recently from cfe2a2d to 0415c42 Compare November 5, 2024 15:37
Copy link
Collaborator

@mheinzel mheinzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the overhead for creating a Handle would have been fine, but works either way.

We add a new `measure-batch-latency` flag that, if enabled, produces a file with
datapoints about the that can be rendered, for example using `gnuplot`. In
sequential mode, the datapoints consist of latency for lookups, and latency for
updates separately. In pipelined mode, there are two additional datapoints for
the sync latency between threads.

When the flag is disabled, all functions related to latency measurements default
to no-ops. These functions are always inlined, and should be optimised away
nicely.
@jorisdral jorisdral force-pushed the jdral/plot-wp8-latency branch from 0415c42 to 6c49199 Compare November 5, 2024 15:53
@jorisdral jorisdral enabled auto-merge November 5, 2024 15:54
@jorisdral
Copy link
Collaborator Author

I think the overhead for creating a Handle would have been fine, but works either way.

Me too, but now it won't create an empty file in your directory, which is nicer

@jorisdral jorisdral added this pull request to the merge queue Nov 5, 2024
Merged via the queue into main with commit 637fec5 Nov 5, 2024
24 checks passed
@jorisdral jorisdral deleted the jdral/plot-wp8-latency branch November 5, 2024 17:11
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.

3 participants