Skip to content

Commit

Permalink
Added documentation to repo and updated README with new performance/d…
Browse files Browse the repository at this point in the history
…iehard values & documentation.
  • Loading branch information
BrandNew2000 committed Apr 6, 2024
1 parent 3be9532 commit ea7ce8f
Show file tree
Hide file tree
Showing 9 changed files with 1,961 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ Time taken for generating *100000000* random numbers by DiceForge's PRNGs:

| Generator | Time Taken |
| --------- | ---------- |
| MT32 | 1742.37 ms |
| MT64 | 1751.81 ms |
| XORShift32 | 484.018 ms |
| XORShift64 | 441.947 ms |
| LFSR32 | 10000.9 ms |
| LFSR64 | 18665.6 ms |
| BBS32 | 15210.2 ms |
| BBS64 | 24677.3 ms |
| NaorReingold | 195678 ms |
| MT32 | 1780.44 ms |
| MT64 | 1779.17 ms |
| XORShift32 | 445.931 ms |
| XORShift64 | 476.061 ms |
| LFSR32 | 10777.7 ms |
| LFSR64 | 19091.7 ms |
| BBS32 | 50130.6 ms |
| BBS64 | 97033.5 ms |
| NaorReingold | 210082 ms |

For comparison, benchmarking other existing standard libraries for the same test.

Expand All @@ -72,17 +72,17 @@ The various PRNGs in DiceForge are robust and pass various Dieharder tests:
| MT64 | 29 (1 weak) | 1 |
| XORShift32 | 29 | 1 |
| XORShift64 | 29 (1 weak) | 1 |
| BBS32 | 4 (2 weak) | 26 |
| BBS64 | 4 (1 weak) | 26 |
| BBS32 | 29 (2 weak) | 1 |
| BBS64 | 29 (2 weak) | 1 |
| LFSR32 | 29 (2 weak) | 1 |
| LFSR64 | 29 | 1 |
| Naor Reingold | 20 | 10 |
| Naor Reingold | 19 | 11 |

For more information about the Dieharder tests, check out DiceForge's Documentation.

## Documentation

Check out the [Documentation](https://www.overleaf.com/project/65d9eea60dbb4690fe6ff8be) for detailed information on library usage, supported algorithms, and more!
Check out the [Documentation](docs/DiceForge_Documentation.pdf) for detailed information on library usage, supported algorithms, and more!

## Getting Started

Expand Down
Binary file added docs/DiceForge_Documentation.pdf
Binary file not shown.
Binary file added docs/src/images/fit_cauchy.pdf
Binary file not shown.
Binary file added docs/src/images/fit_gaussian.pdf
Binary file not shown.
Binary file added docs/src/images/maxwell_pdf.pdf
Binary file not shown.
Binary file added docs/src/images/monte_carlo_pi.pdf
Binary file not shown.
Binary file added docs/src/images/path_tracer.pdf
Binary file not shown.
Binary file added docs/src/images/sierpinski_triangle.pdf
Binary file not shown.
Loading

0 comments on commit ea7ce8f

Please sign in to comment.