-
Notifications
You must be signed in to change notification settings - Fork 271
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
feat(avm): avm circuit actually uses public inputs columns passed from TS #6819
feat(avm): avm circuit actually uses public inputs columns passed from TS #6819
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
cf95f3a
to
b5f5341
Compare
11b6e5a
to
c9d1527
Compare
b5f5341
to
675e66b
Compare
c9d1527
to
c1c8278
Compare
675e66b
to
cde66ab
Compare
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Proof generationEach column represents the number of threads used in proof generation.
L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
Stats on running time collected for app circuits
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contract classes are registered in the tx.
Transaction size based on fee payment method | Metric | | |
c1c8278
to
2bacc0f
Compare
cde66ab
to
a550043
Compare
7a194c4
to
f24b767
Compare
a550043
to
8726b46
Compare
8726b46
to
57be540
Compare
{ | ||
if (public_inputs_vec.size() != PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH) { | ||
throw_or_abort("Public inputs vector is not of PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH"); |
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.
Optional: if you have to modify this PR for some other reason, you could add the expected vs gotten sizes here.
HonkProof proof(public_inputs_vec); | ||
auto raw_proof = prover.construct_proof(); |
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.
I'm ok with keeping the order, but I'd switch the types:
std::vector<ff> proof(public_inputs_vec);
HonkProof raw_proof = prover.construct_proof();
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.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05
.
Benchmark suite | Current: 57be540 | Previous: f24b767 | Ratio |
---|---|---|---|
nativeconstruct_proof_ultrahonk_power_of_2/20 |
5912.58711399999 ms/iter |
5509.176739000011 ms/iter |
1.07 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ludamad @codygunton
No description provided.