diff --git a/tests/src/performance.test.ts b/tests/src/performance.seq.test.ts similarity index 96% rename from tests/src/performance.test.ts rename to tests/src/performance.seq.test.ts index 1322bfd597..e049e217d9 100644 --- a/tests/src/performance.test.ts +++ b/tests/src/performance.seq.test.ts @@ -142,11 +142,6 @@ const tryMintExplicit = async (helper: UniqueHelper, signer: IKeyringPair, token return tokensCount; }; - -function sizeOfByteProperty(prop: IProperty) { - return sizeOfEncodedBytes(prop.key) + sizeOfEncodedBytes(prop.value!); -} - function sizeOfProperty(prop: IProperty) { return sizeOfEncodedStr(prop.key) + sizeOfEncodedStr(prop.value!); } @@ -169,7 +164,3 @@ function sizeOfEncodedStr(v: string) { const encoded = UTF8_ENCODER.encode(v); return sizeOfInt(encoded.length) + encoded.length; } - -function sizeOfEncodedBytes(bytes: Uint8Array | string) { - return sizeOfInt(bytes.length) + bytes.length; -}