diff --git a/benchmark/crypto/webcrypto-digest.js b/benchmark/crypto/webcrypto-digest.js index f5ef8e6bc493..e25181a3c3d6 100644 --- a/benchmark/crypto/webcrypto-digest.js +++ b/benchmark/crypto/webcrypto-digest.js @@ -33,8 +33,6 @@ function measureLegacy(n, data, method) { } function measureSubtle(n, data, method) { - const ec = new TextEncoder(); - data = ec.encode(data); const jobs = new Array(n); bench.start(); for (let i = 0; i < n; i++)