-
Notifications
You must be signed in to change notification settings - Fork 461
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
[Builtins] Make 'BuiltinFailure' the last constructor #5885
base: master
Are you sure you want to change the base?
[Builtins] Make 'BuiltinFailure' the last constructor #5885
Conversation
/benchmark lists |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'lists' on '191103257' (base) and 'b1ee0ff59' (PR) Results table
|
/benchmark nofib |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'nofib' on '191103257' (base) and 'b1ee0ff59' (PR) Results table
|
/benchmark nofib |
1 similar comment
/benchmark nofib |
/benchmark validation |
@aadaa-fgtaa is telling me that simply making the constructor first isn't anywhere near being a reliable way to force GHC to branch-predict it and that for e.g. data Foo = Bar | Baz
f Bar = 1#
f Baz = 2# GHC would branch-predict the second one. Making the @aadaa-fgtaa also referenced this GHC ticket. We don't lose anything by reordering the constructors though, so if it helps some benchmarks, let's just do it and pray that GHC doesn't break things. |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'nofib' on '191103257' (base) and 'b1ee0ff59' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'nofib' on '191103257' (base) and 'b1ee0ff59' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'validation' on '191103257' (base) and 'b1ee0ff59' (PR) Results table
|
/benchmark nofib |
4 similar comments
/benchmark nofib |
/benchmark nofib |
/benchmark nofib |
/benchmark nofib |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
/benchmark nofib |
1 similar comment
/benchmark nofib |
/benchmark lists |
1 similar comment
/benchmark lists |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
Click here to check the status of your benchmark. |
…to effectfully/builtins/make-BuiltinFailure-the-last-constructor
/benchmark validation |
/benchmark nofib |
/benchmark lists |
/benchmark validation |
/benchmark nofib |
/benchmark lists |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'validation' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'nofib' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'lists' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'validation' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'nofib' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'lists' on '7b3fd3e41' (base) and 'd294c0e55' (PR) Results table
|
Just trying out.