fix suite
This commit is contained in:
parent
75b9a3bedf
commit
edf107045a
|
@ -1,5 +1,5 @@
|
||||||
export {verifyInValidSignatureBenchmark} from './verifyInValidSignature';
|
// export {verifyInValidSignatureBenchmark} from './verifyInValidSignature';
|
||||||
export {verifyValidSignatureBenchmark} from './verifyValidSignature';
|
// export {verifyValidSignatureBenchmark} from './verifyValidSignature';
|
||||||
export {verifyValidAggregatedSignature} from './verifyValidAggregatedSignature';
|
export {verifyValidAggregatedSignature} from './verifyValidAggregatedSignature';
|
||||||
export {verifyInvalidAggregatedSignature} from './verifyInvalidAggregatedSignature';
|
// export {verifyInvalidAggregatedSignature} from './verifyInvalidAggregatedSignature';
|
||||||
export {aggregateSignaturesBenchmark} from './signatureAggregation';
|
// export {aggregateSignaturesBenchmark} from './signatureAggregation';
|
|
@ -23,7 +23,7 @@ export function verifyValidAggregatedSignature(dir: string): BenchSuite {
|
||||||
const FUNCTION_NAME = "verifyValidAggregatedSignature"; // PLEASE FILL THIS OUT
|
const FUNCTION_NAME = "verifyValidAggregatedSignature"; // PLEASE FILL THIS OUT
|
||||||
|
|
||||||
const verifyValidAggregatedSignature = function (): void {
|
const verifyValidAggregatedSignature = function (): void {
|
||||||
global.verify(global.publicKeys, global.messages, global.signature, global.domain);
|
console.log(global.verify(global.publicKeys, global.messages, global.signature, global.domain));
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -43,6 +43,8 @@ export function verifyValidAggregatedSignature(dir: string): BenchSuite {
|
||||||
global.signature = aggregateSignatures(signatures);
|
global.signature = aggregateSignatures(signatures);
|
||||||
global.publicKeys.map(() => message);
|
global.publicKeys.map(() => message);
|
||||||
},
|
},
|
||||||
file: dir + FUNCTION_NAME + ".txt"
|
file: dir + FUNCTION_NAME + ".txt",
|
||||||
|
// profile: true,
|
||||||
|
name: FUNCTION_NAME,
|
||||||
};
|
};
|
||||||
}
|
}
|
Reference in New Issue