-
Notifications
You must be signed in to change notification settings - Fork 483
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] Store 'BuiltinRuntime' lazily explicitly #5806
[Builtins] Store 'BuiltinRuntime' lazily explicitly #5806
Conversation
/benchmark plutus-benchmark:nofib |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'plutus-benchmark:nofib' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
/benchmark plutus-benchmark:lists |
Click here to check the status of your benchmark. |
Comparing benchmark results of 'plutus-benchmark:lists' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
/benchmark validation |
1 similar comment
/benchmark validation |
Click here to check the status of your benchmark. |
/benchmark validation |
/benchmark lists |
2 similar comments
/benchmark lists |
/benchmark lists |
Comparing benchmark results of 'validation' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Click here to check the status of your benchmark. |
^ -3.15% on average lol. |
Comparing benchmark results of 'validation' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'validation' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Click here to check the status of your benchmark. |
^ -2.84%. Ok, I'll look into it. I don't trust it still. |
Comparing benchmark results of 'lists' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Click here to check the status of your benchmark. |
^ +1.76% on average. |
Comparing benchmark results of 'lists' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Click here to check the status of your benchmark. |
Comparing benchmark results of 'lists' on '79cb92bbc' (base) and '49db6d500' (PR) Results table
|
Quick! Merge it! |
…to effectfully/builtins/explicitly-lazy-BuiltinRuntime
I thought this wouldn't be compatible with extensible cost models in the end, but it is compatible. Still GHC-8.10 doesn't like something. I'm closing this for now and I've added an entry about this issue to #4306 in case we want to return to it in future. |
This allows us to be more precise regarding how
BuiltinRuntime
s are stored and it allows us to implement a properNoThunks
instance forBuiltinsRuntime
at the cost of introducing an indirection that slightly slows things down at runtime (may be undetectable, but let's see).This is an EXPERIMENT, do not merge.