feat: improve perf (#117)

This commit is contained in:
Richard Schneider
2018-01-28 07:54:04 +13:00
committed by David Dias
parent 2c0dc706b7
commit cdcca5f828
6 changed files with 117 additions and 39 deletions

View File

@ -13,7 +13,7 @@ describe('libp2p-crypto', function () {
this.timeout(20 * 1000)
let key
before((done) => {
crypto.keys.generateKeyPair('RSA', 2048, (err, _key) => {
crypto.keys.generateKeyPair('RSA', 512, (err, _key) => {
if (err) {
return done(err)
}