|
Ran
|
Files
8
|
Run time
0s
|
Badge
README BADGES
|
push
github
Optimize Random Safe Prime Generator (#149) * Optimize Random Safe Prime Generator - [+] feat(rand.ts): optimize safe prime generation with improved sieving and primality tests - [+] test(dh_operation.test.ts): update tests to reflect changes in safe prime generation method and remove unnecessary timeouts * Skip x64 its so bad - [+] fix(tests): update condition to skip async safe prime generation test on x64 architecture instead of Windows platform * Update Comments - [+] fix(test): update comment to clarify that the test is skipped on x64 architecture * Test Rollback and let's see in Github Action * Revert "Test Rollback and let's see in Github Action" This reverts commit f9b8d59e4. * Improve DH Operation Test - [+] refactor(dh_operation.test.ts): remove unnecessary beforeEach setup for Node.js environment * Update Comments - [+] docs(rand.ts): add comment explaining performance of small primes method on different architectures * Test again - [+] refactor(dh_operation.test.ts): change test.concurrent to test and increase timeouts for async safe prime generation test * Reduce Accuracy - [+] fix(tests): reduce the number of iterations for safe prime generation in tests * Update Comments & Increase Accuracy - [+] fix(rand.ts): add note about performance on ARM vs x64 for small primes method - [+] fix(dh_operation.test.ts): update test to use 5 as the fourth argument for randSafePrimeAsync * Bump - [+] test(dh_operation): reduce safe prime bit length from 2048 to 1024 for testing purposes * Reapply "Test Rollback and let's see in Github Action" This reverts commit 959bb8d5d. * Revert "Reapply "Test Rollback and let's see in Github Action"" This reverts commit 8cc836a46. * Update Documentation - [+] docs(rand.ts): add TODO comments to update algorithm method for overhead optimization
425 of 465 branches covered (91.4%)
Branch coverage included in aggregate %.
868 of 972 relevant lines covered (89.3%)
469185.36 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|