How to get number of constraints for a circuit? #115
-
I am trying to find the total number of constraints for a circuit, say this. Also, how to get stats after setup? Say like total number of variable, total of witness variables, number of G1 elements in PK, etc? Not sure if playing with the output of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, you have access to the number of variables (public, secret, internal) and to the number of constraints through a compiled circuit like this:
The number of elements in the keys are:
I can open an issue to add stats of this sort on the compiled circuit if you think this is helpful. |
Beta Was this translation helpful? Give feedback.
Hi,
you have access to the number of variables (public, secret, internal) and to the number of constraints through a compiled circuit like this: