Skip to content

Commit

Permalink
Cleanup benchmark loader for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Dec 20, 2024
1 parent 6f79cbe commit 68e3d1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .benchrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ require:
threshold: 3
maxMs: 60_000
minRuns: 10
loader:
- ts-node/esm
extension:
- ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "lerna run test",
"benchmark:files": "NODE_OPTIONS='--max_old_space_size=4096 --loader=ts-node/esm' benchmark --config .benchrc.yaml",
"benchmark": "yarn benchmark:files 'packages/*/test/perf/**/*.test.ts'",
"benchmark:local": "NODE_OPTIONS='--loader=ts-node/esm' yarn benchmark --local",
"benchmark:local": "yarn benchmark --local",
"check-readme": "lerna run check-readme"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/persistent-merkle-tree/test/perf/node.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {itBench} from "@dapplion/benchmark";
import {BranchNode, getNodeH, LeafNode} from "../../src/node.js";
import {countToDepth, getHashComputations, HashComputation, subtreeFillToContents} from "../../src/index.js";
import {countToDepth, getHashComputations, subtreeFillToContents} from "../../src/index.js";
import {batchHash} from "../utils/batchHash.js";

describe("HashObject LeafNode", () => {
Expand Down

0 comments on commit 68e3d1d

Please sign in to comment.