From edf107045ad696bae1b4473862e2af230718a1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Wed, 28 Aug 2019 14:05:04 +0200 Subject: [PATCH] fix suite --- test/benchmarks/suites/index.ts | 8 ++++---- test/benchmarks/suites/verifyValidAggregatedSignature.ts | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test/benchmarks/suites/index.ts b/test/benchmarks/suites/index.ts index 9af379d..1648eaf 100644 --- a/test/benchmarks/suites/index.ts +++ b/test/benchmarks/suites/index.ts @@ -1,5 +1,5 @@ -export {verifyInValidSignatureBenchmark} from './verifyInValidSignature'; -export {verifyValidSignatureBenchmark} from './verifyValidSignature'; +// export {verifyInValidSignatureBenchmark} from './verifyInValidSignature'; +// export {verifyValidSignatureBenchmark} from './verifyValidSignature'; export {verifyValidAggregatedSignature} from './verifyValidAggregatedSignature'; -export {verifyInvalidAggregatedSignature} from './verifyInvalidAggregatedSignature'; -export {aggregateSignaturesBenchmark} from './signatureAggregation'; \ No newline at end of file +// export {verifyInvalidAggregatedSignature} from './verifyInvalidAggregatedSignature'; +// export {aggregateSignaturesBenchmark} from './signatureAggregation'; \ No newline at end of file diff --git a/test/benchmarks/suites/verifyValidAggregatedSignature.ts b/test/benchmarks/suites/verifyValidAggregatedSignature.ts index b0efb17..7636872 100644 --- a/test/benchmarks/suites/verifyValidAggregatedSignature.ts +++ b/test/benchmarks/suites/verifyValidAggregatedSignature.ts @@ -23,7 +23,7 @@ export function verifyValidAggregatedSignature(dir: string): BenchSuite { const FUNCTION_NAME = "verifyValidAggregatedSignature"; // PLEASE FILL THIS OUT 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 { @@ -43,6 +43,8 @@ export function verifyValidAggregatedSignature(dir: string): BenchSuite { global.signature = aggregateSignatures(signatures); global.publicKeys.map(() => message); }, - file: dir + FUNCTION_NAME + ".txt" + file: dir + FUNCTION_NAME + ".txt", + // profile: true, + name: FUNCTION_NAME, }; } \ No newline at end of file