(n)
| 14 | |
| 15 | const methods = { |
| 16 | rsaSync(n) { |
| 17 | bench.start(); |
| 18 | for (let i = 0; i < n; ++i) { |
| 19 | generateKeyPairSync('rsa', { |
| 20 | modulusLength: 1024, |
| 21 | publicExponent: 0x10001, |
| 22 | }); |
| 23 | } |
| 24 | bench.end(n); |
| 25 | }, |
| 26 | |
| 27 | rsaAsync(n) { |
| 28 | let remaining = n; |
nothing calls this directly
no test coverage detected