Skip to content

Reduce overhead when FAILPOINTS is empty#71

Open
quark-zju wants to merge 1 commit intotikv:masterfrom
quark-zju:empty_failpoints
Open

Reduce overhead when FAILPOINTS is empty#71
quark-zju wants to merge 1 commit intotikv:masterfrom
quark-zju:empty_failpoints

Conversation

@quark-zju
Copy link

Reduce fail_point! overhead with empty FAILPOINTS from about 9ns to 0.3ns. This could be useful when the failpoints feature is enabled but FAILPOINTS are not set most of the time.

Reduce fail_point! overhead with empty FAILPOINTS from about 9ns to 0.3ns.
This could be useful when the failpoints feature is enabled but
FAILPOINTS are not set most of the time.

Signed-off-by: Jun Wu <quark@lihdd.net>
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

Comments