File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * Performance regression framework for constraint systems (CS) and zkApp
3+ * instances.
4+ *
5+ * This script benchmarks compile-time performance and validates digests for a
6+ * fixed set of zkApps and CS examples. It supports two modes:
7+ * - **Dump**: record baseline digests and compile times into
8+ * {@link tests/perf-regression/perf-regression.json}
9+ * - **Check**: compare current results against stored baselines and fail on
10+ * regressions or digest mismatches
11+ *
12+ * Unlike {@link src/lib/testing/perf-regression.ts}, which records results for
13+ * each ZkProgram examples separately, this file iterates over imported CS/zkApp
14+ * instances and updates their digests and compile times as a whole.
15+ */
16+
117import fs from 'fs' ;
218import path from 'path' ;
319import { Voting_ } from '../../src/examples/zkapps/voting/voting.js' ;
You can’t perform that action at this time.
0 commit comments