forked from haskell/random
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hold off for now: Add benchmark helper scripts #135
Draft
curiousleo
wants to merge
212
commits into
v1.2-proposal
Choose a base branch
from
revert-134-remove-scripts-for-now
base: v1.2-proposal
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updates Haskell 98 link
Update README.md
Fix for GHC testsuite
…nad flavor thats impossible, so switchign to s -> m (a,s) flavor
have a candidate travis file, added entropy to the dependencies for now (spoke with TomMD and we agreed that they should be combined sometime) started work on basic distribution generation tools
… uses should be good enough.
…representable via a Word64)
…ts representation shifting to unboxed vector for the permutations to improve locality and memory usage
* Make bitmask-with-rejection non-recursive * INLINE some uniformRM implementations
* Generate Float and Double via division Coverage ======== Before: 0.787% of representable Floats in the unit interval reached After: 7.874% of representable Floats in the unit interval reached (A similar enumeration for Double is impossible, but it is very likely that coverage is increased for Doubles too.) Performance =========== Before: pure/random/Float mean 331.1 μs ( +- 21.67 μs ) pure/uniformR/unbounded/Float mean 324.6 μs ( +- 2.849 μs ) pure/random/Double mean 411.3 μs ( +- 5.876 μs ) pure/uniformR/unbounded/Double mean 416.8 μs ( +- 41.93 μs ) After: pure/random/Float mean 27.32 μs ( +- 158.0 ns ) pure/uniformR/unbounded/Float mean 27.37 μs ( +- 422.0 ns ) pure/random/Double mean 27.34 μs ( +- 303.1 ns ) pure/uniformR/unbounded/Double mean 27.49 μs ( +- 983.7 ns ) * Floating point ranges inclusive in upper bound
* Remove -fobject-code compilation, since Cmm was removed * Fix example in cabal file * Take care of some compile warnings in legacy benchmarks
Docs ported from #98
…encies` for `Frozen`
Fixes haskell#59 by making 'StdGen' not an instance of 'Read'.
* Slight improvement in performance. (for small lengths it doubles the performance) * Addition of a couple tests for ByteString generation * Add `Eq` and `NFData` instances for `StdGen` * Add benchmark for generation of `ShortByteString`s
* Fix GHC warnings, apply some hlint suggestions * Enable more GHC warnings
* Reduce .gitignore diff * Remove unused configurations from .travis.yml * Remove default comments from stack-old.yaml * Remove default comments from stack.yaml * Remove commented out Spec code
This reverts commit 8ac2c89.
450d75e
to
73977e9
Compare
Shimuuar
pushed a commit
to Shimuuar/random
that referenced
this pull request
Jan 6, 2025
Drop support for GHC-7.10 and fix CI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #134