Skip to content

Commit ba1d54f

Browse files
committed
Format performance regression files
1 parent acf106c commit ba1d54f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/lib/testing/perf-regression.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
* When neither is provided, the script runs in log-only mode.
2222
*/
2323

24-
import { ConstraintSystemSummary } from '../provable/core/provable-context.js';
25-
import minimist from 'minimist';
2624
import fs from 'fs';
25+
import minimist from 'minimist';
2726
import path from 'path';
27+
import { ConstraintSystemSummary } from '../provable/core/provable-context.js';
2828

29-
export { Performance, PerfRegressionEntry };
29+
export { PerfRegressionEntry, Performance };
3030

3131
type MethodsInfo = Record<
3232
string,

tests/perf-regression/perf-regression.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616

1717
import fs from 'fs';
1818
import path from 'path';
19-
import { Voting_ } from '../../src/examples/zkapps/voting/voting.js';
20-
import { Membership_ } from '../../src/examples/zkapps/voting/membership.js';
21-
import { HelloWorld } from '../../src/examples/zkapps/hello-world/hello-world.js';
2219
import { TokenContract, createDex } from '../../src/examples/zkapps/dex/dex.js';
20+
import { HelloWorld } from '../../src/examples/zkapps/hello-world/hello-world.js';
21+
import { Membership_ } from '../../src/examples/zkapps/voting/membership.js';
22+
import { Voting_ } from '../../src/examples/zkapps/voting/voting.js';
23+
import { PerfRegressionEntry } from '../../src/lib/testing/perf-regression.js';
24+
import { tic, toc } from '../../src/lib/util/tic-toc.js';
2325
import {
24-
GroupCS,
25-
BitwiseCS,
26-
HashCS,
2726
BasicCS,
27+
BitwiseCS,
2828
CryptoCS,
29+
GroupCS,
30+
HashCS,
2931
} from '../vk-regression/plain-constraint-system.js';
30-
import { tic, toc } from '../../src/lib/util/tic-toc.js';
31-
import { PerfRegressionEntry } from '../../src/lib/testing/perf-regression.js';
3232

3333
// toggle to override caches
3434
const forceRecompile = false;

0 commit comments

Comments
 (0)