From 243ac2e163ad407b6c89eef5b4695188ab8487ed Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Tue, 2 May 2017 13:40:43 +0700 Subject: [PATCH] Added \Hash::setRounds(5); for faster testing suite Before Time: 6.39 seconds, Memory: 24.00MB After Time: 866 ms, Memory: 24.00MB --- storage/debugbar/.gitignore | 0 tests/CreatesApplication.php | 1 + 2 files changed, 1 insertion(+) mode change 100644 => 100755 storage/debugbar/.gitignore diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore old mode 100644 new mode 100755 diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index 547152f..15de6b9 100644 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -16,6 +16,7 @@ trait CreatesApplication $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Kernel::class)->bootstrap(); + \Hash::setRounds(5); return $app; }