'use strict'; var chai = chai || require('chai'); var should = chai.should(); describe('Performance tests', function() { var config = { wallet: { requiredCopayers: 1, totalCopayers: 1, spendUnconfirmed: 1, }, networkName: 'testnet', }; describe('PrivateKey', function() { it('should optimize BIP32 private key gen time with cache', function() { var k1 = new PrivateKey(); var generateN = 25; var generated = []; var start1 = new Date().getTime(); for (var i=0; i