We(nyx.money) also observed very strong positive correlation between the number of gates and the execution duration. We measured 3 cases, run 10 times for each case.
Case 1, signing tx hash with domain info (141,958 gates)
Case 2, signing 2 function detials but one hash for all args (255,835 gates)
Case 3, signing 5 function details but one hash for all args (490,144 gates)
| Gates | Average Duration | Standard Deviation | Sample Size (n) |
|---|---|---|---|
| 141,958 | ~11,270 - 11,430 | ~491 - 761 | 21 |
| 255,835 | ~13,569 | ~237 | 10 |
| 490,144 | ~15,642 | ~459 | 10 |