From 16b7a26f4edb4149117a141af93a87adb7805ece Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Fri, 1 Mar 2024 16:01:14 +0700 Subject: [PATCH] fix: correct perf test name --- packages/as-sha256/test/perf/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/as-sha256/test/perf/index.test.ts b/packages/as-sha256/test/perf/index.test.ts index b772165c..4be7df29 100644 --- a/packages/as-sha256/test/perf/index.test.ts +++ b/packages/as-sha256/test/perf/index.test.ts @@ -16,7 +16,7 @@ describe("digestTwoHashObjects vs digest64 vs digest", () => { const obj2 = sha256.byteArrayToHashObject(buffer2); // total number of time running hash for 200000 balances const iterations = 50023; - itBench(`digestTwoHashObjects ${iterations} times`, () => { + itBench(`digest64HashObjects ${iterations} times`, () => { for (let j = 0; j < iterations; j++) sha256.digest64HashObjects(obj1, obj2); });