-
Notifications
You must be signed in to change notification settings - Fork 93
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 measurement logs #493
Add measurement logs #493
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @spapinistarkware and the rest of your teammates on Graphite |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #493 +/- ##
=======================================
Coverage 94.11% 94.12%
=======================================
Files 66 66
Lines 8379 8392 +13
Branches 8379 8392 +13
=======================================
+ Hits 7886 7899 +13
Misses 428 428
Partials 65 65 ☔ View full report in Codecov by Sentry. |
afd090c
to
3ff331b
Compare
9949fe2
to
74caa3e
Compare
3ff331b
to
a5c457d
Compare
74caa3e
to
79bac64
Compare
af26708
to
34a5a50
Compare
f4b7c15
to
07a62f9
Compare
34a5a50
to
28f7685
Compare
07a62f9
to
7240676
Compare
b9036b8
to
19ded1d
Compare
7240676
to
60bf0a0
Compare
19ded1d
to
bcc3f59
Compare
60bf0a0
to
c048950
Compare
bcc3f59
to
4b151b8
Compare
c048950
to
c61c35b
Compare
c61c35b
to
82a86ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @spapinistarkware)
src/examples/wide_fibonacci/avx.rs
line 39 at r1 (raw file):
log_size: usize, ) -> ColumnVec<CircleEvaluation<AVX512Backend, BaseField, BitReversedOrder>> { let _span = span!(Level::INFO, "Trace generation").entered();
Can you move it to the caller?
stwo/src/examples/fibonacci/mod.rs
Line 53 in f3da0ed
let trace = self.get_trace(); |
Code quote:
let _span = span!(Level::INFO, "Trace generation").entered();
eeb1ad0
to
c79fbdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 7 of 11 files reviewed, 1 unresolved discussion (waiting on @shaharsamocha7)
src/examples/wide_fibonacci/avx.rs
line 39 at r1 (raw file):
Previously, shaharsamocha7 wrote…
Can you move it to the caller?
stwo/src/examples/fibonacci/mod.rs
Line 53 in f3da0ed
let trace = self.get_trace();
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r2.
Reviewable status: 10 of 11 files reviewed, 3 unresolved discussions (waiting on @spapinistarkware)
src/core/commitment_scheme/prover.rs
line 163 at r2 (raw file):
span.exit(); let _span = span!(Level::INFO, "Commitment merkle").entered();
Why do you need to bind it to a variable?
Code quote:
let _span =
src/examples/wide_fibonacci/avx.rs
line 74 at r2 (raw file):
evaluation_accumulator: &mut DomainEvaluationAccumulator<AVX512Backend>, ) { let span = span!(Level::INFO, "Constraint eval extension").entered();
This is not just the extension here.
Code quote:
let span = span!(Level::INFO, "Constraint eval extension").entered();
src/examples/wide_fibonacci/avx.rs
line 170 at r3 (raw file):
fn test_avx_wide_fib_prove() { // Note: To see time measurement, run test with // RUST_LOG_SPAN_EVENTS=enter,close RUST_LOG=info RUST_BACKTRACE=1 RUSTFLAGS="-Awarnings
Why do you have warnings here?
Code quote:
RUSTFLAGS="-Awarnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 10 of 11 files reviewed, 3 unresolved discussions (waiting on @shaharsamocha7)
src/core/commitment_scheme/prover.rs
line 163 at r2 (raw file):
Previously, shaharsamocha7 wrote…
Why do you need to bind it to a variable?
I think it's more consistent with the let span=
calls.
src/examples/wide_fibonacci/avx.rs
line 74 at r2 (raw file):
Previously, shaharsamocha7 wrote…
This is not just the extension here.
Done.
src/examples/wide_fibonacci/avx.rs
line 170 at r3 (raw file):
Previously, shaharsamocha7 wrote…
Why do you have warnings here?
Done.
c79fbdb
to
1b54a8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @spapinistarkware)
Merge activity
|
This change is