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

Add execution timing metrics for participation code #10158

Merged
merged 8 commits into from
Mar 18, 2022

Conversation

nholland94
Copy link
Member

No description provided.

@nholland94 nholland94 added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Feb 4, 2022
@nholland94 nholland94 force-pushed the feature/validation-timing-metrics branch 7 times, most recently from c2fdc8b to 9cce464 Compare February 14, 2022 15:46
@nholland94 nholland94 requested review from a team as code owners February 24, 2022 06:42
@nholland94 nholland94 force-pushed the feature/validation-timing-metrics branch 3 times, most recently from 6815c58 to ee10edf Compare March 2, 2022 19:42
@nholland94 nholland94 force-pushed the feature/validation-timing-metrics branch from ee10edf to 2b746ee Compare March 3, 2022 15:53
@nholland94 nholland94 changed the title [WIP] Add execution timing metrics for participation code Add execution timing metrics for participation code Mar 14, 2022
@nholland94 nholland94 added ci-build-me Add this label to trigger a circle+buildkite build for this branch and removed ci-build-me Add this label to trigger a circle+buildkite build for this branch labels Mar 16, 2022
Copy link
Member

@mrmr1993 mrmr1993 left a comment

Choose a reason for hiding this comment

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

Awesome! A few small nits, but looks great

@@ -2276,39 +2276,59 @@ let hash_transaction =
in
printf "%s\n" (Transaction_hash.to_base58_check hash))

let humanize_graphql_error
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@@ -654,7 +660,8 @@ end = struct
t.next_flush <-
Some
(Clock.Event.run_after max_wait
(fun () ->
(* <-- TODO: pretty sure this is a bug (this can infinitely delay flushes *)
Copy link
Member

Choose a reason for hiding this comment

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

Yea, looks like there should be an explicit

(if not (Strict_pipe.Writer.is_closed t.flush_w) then
  Strict_pipe.Writer.write t.flush_w () );

after the Option.iter. Doesn't need fixing in this PR though.

src/lib/network_pool/batcher.ml Outdated Show resolved Hide resolved
src/lib/network_pool/network_pool_base.ml Outdated Show resolved Hide resolved
src/lib/network_pool/network_pool_base.ml Outdated Show resolved Hide resolved
src/lib/network_pool/network_pool_base.ml Outdated Show resolved Hide resolved
src/lib/network_pool/network_pool_base.ml Outdated Show resolved Hide resolved
src/lib/network_pool/network_pool_base.ml Outdated Show resolved Hide resolved
src/lib/o1trace/o1trace.ml Outdated Show resolved Hide resolved
@nholland94 nholland94 merged commit dad425f into compatible Mar 18, 2022
@nholland94 nholland94 deleted the feature/validation-timing-metrics branch March 18, 2022 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants