Lines Matching refs:data
12 data: [10, 20, 50, 100],
29 function measureLegacy(n, data, method) {
33 createHash(method).update(data).digest();
38 function measureSubtle(n, data, method) {
40 data = ec.encode(data);
44 jobs[i] = subtle.digest(method, data);
50 function main({ n, sync, data, method }) {
51 data = webcrypto.getRandomValues(Buffer.alloc(data));
53 case 'createHash': return measureLegacy(n, data, method);
54 case 'subtle': return measureSubtle(n, data, method);