Fix conflicts

This commit is contained in:
Paul Miller 2020-12-03 20:22:28 +04:00 committed by GitHub
parent 78c289cb21
commit e995e07fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -118,4 +118,19 @@ import {aggCount, runsNoble} from "./params";
},
runs: runsNoble,
});
await runBenchmark<{sk: Uint8Array; msg: Uint8Array}, void>({
id: `noble sign`,
prepareTest: async () => ({
input: {
sk: generateRandomSecretKey(),
msg: randomMessage(),
},
}),
testRunner: async ({sk, msg}) => {
await noble.sign(msg, sk);
},
runs: runsNoble,
});
})();