Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Evaluation] [Performance] Strictify 'spend' (#6705)
I used to see this: ```haskell $j_sXeb (x#_aWMv :: Int#) (wild1_aWMu :: Int) = let! { I# ipv6_sXec ~ wild3_X8 <- wild1_aWMu } in ``` and now I see this: ```haskell $w$j_sum7 :: Int# -> Int# -> (# State# s_sumh, () #) $w$j_sum7 (x#_sum1 :: Int#) (ww2_sum4 :: Int#) ``` in the GHC Core of the `spend` local function in `UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode`. It's a small but welcome improvement.
- Loading branch information
9c184a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.05
.validation-auction_1-1
226.5
μs176.1
μs1.29
validation-auction_1-2
740.4
μs574.5
μs1.29
validation-auction_2-2
593.8
μs543.1
μs1.09
validation-escrow-redeem_2-1
507.4
μs378.2
μs1.34
validation-escrow-redeem_2-2
506.6
μs374.1
μs1.35
validation-escrow-redeem_2-3
508.3
μs374.5
μs1.36
validation-escrow-refund-1
204.9
μs151.4
μs1.35
validation-future-increase-margin-1
254.1
μs229.2
μs1.11
validation-future-settle-early-4
630.9
μs554.2
μs1.14
validation-game-sm-success_1-1
462
μs356.7
μs1.30
validation-pubkey-1
159.4
μs139.8
μs1.14
validation-stablecoin_1-1
1070
μs842.5
μs1.27
validation-stablecoin_1-5
1658
μs1253
μs1.32
validation-stablecoin_1-6
297.1
μs251.8
μs1.18
validation-stablecoin_2-1
1133
μs840.7
μs1.35
validation-stablecoin_2-2
252.5
μs191.6
μs1.32
validation-decode-auction_1-1
273.7
μs199.1
μs1.37
validation-decode-auction_1-2
755.9
μs549.9
μs1.37
validation-decode-auction_1-3
732.1
μs551.2
μs1.33
validation-decode-auction_1-4
212.4
μs200.5
μs1.06
validation-decode-auction_2-1
213.2
μs200.1
μs1.07
validation-decode-auction_2-2
582.6
μs549.4
μs1.06
validation-decode-auction_2-3
584.1
μs549.1
μs1.06
validation-decode-auction_2-4
584.1
μs548.9
μs1.06
validation-decode-auction_2-5
213.4
μs199.6
μs1.07
validation-decode-crowdfunding-success-1
260.6
μs242.9
μs1.07
validation-decode-crowdfunding-success-2
260.3
μs243.5
μs1.07
validation-decode-crowdfunding-success-3
261.6
μs243.1
μs1.08
validation-decode-currency-1
258.8
μs240.8
μs1.07
validation-decode-escrow-redeem_1-1
431.2
μs325.5
μs1.32
validation-decode-escrow-redeem_1-2
451.1
μs325.5
μs1.39
validation-decode-escrow-redeem_2-1
451.8
μs326.7
μs1.38
validation-decode-escrow-redeem_2-2
453.7
μs324.8
μs1.40
validation-decode-escrow-redeem_2-3
446.9
μs325.3
μs1.37
validation-decode-escrow-refund-1
449.2
μs325.5
μs1.38
validation-decode-future-increase-margin-1
333.8
μs239.9
μs1.39
validation-decode-future-increase-margin-2
454.2
μs327
μs1.39
validation-decode-future-increase-margin-3
437.4
μs347.8
μs1.26
validation-decode-future-settle-early-1
243.2
μs230.6
μs1.05
validation-decode-future-settle-early-2
349.6
μs325.9
μs1.07
validation-decode-future-settle-early-3
368.8
μs312.5
μs1.18
validation-decode-future-settle-early-4
743.8
μs670.8
μs1.11
validation-decode-game-sm-success_1-1
568.8
μs514.7
μs1.11
validation-decode-game-sm-success_1-2
184.5
μs165
μs1.12
validation-decode-ping-pong-2
645.4
μs490.9
μs1.31
validation-decode-ping-pong_2-1
684.7
μs479.5
μs1.43
validation-decode-prism-1
226.7
μs159.5
μs1.42
validation-decode-prism-2
723.1
μs505.7
μs1.43
validation-decode-prism-3
258.5
μs233.8
μs1.11
validation-decode-stablecoin_1-1
932.1
μs878.2
μs1.06
validation-decode-stablecoin_1-2
182.9
μs169.6
μs1.08
validation-decode-stablecoin_1-3
940.4
μs875.1
μs1.07
validation-decode-stablecoin_1-4
183.9
μs169.3
μs1.09
validation-decode-stablecoin_1-5
931.2
μs876.7
μs1.06
validation-decode-stablecoin_1-6
183.8
μs169.2
μs1.09
validation-decode-stablecoin_2-1
930.9
μs876.3
μs1.06
validation-decode-stablecoin_2-2
182.1
μs166.8
μs1.09
validation-decode-stablecoin_2-3
933.4
μs874.9
μs1.07
validation-decode-uniswap-1
292.7
μs233.8
μs1.25
validation-decode-uniswap-2
320
μs234.2
μs1.37
validation-decode-uniswap-3
1026
μs718.5
μs1.43
validation-decode-uniswap-4
235.4
μs179
μs1.32
nofib-clausify/formula1
3051
μs2747
μs1.11
nofib-clausify/formula2
5002
μs3764
μs1.33
nofib-clausify/formula3
13730
μs11370
μs1.21
nofib-clausify/formula4
32030
μs28510
μs1.12
marlowe-semantics/0000020002010200020101020201000100010001020101020201010000020102
328.4
μs307.8
μs1.07
marlowe-semantics/0001000101000000010101000001000001010101010100000001000001010000
495.1
μs422.3
μs1.17
This comment was automatically generated by workflow using github-action-benchmark.
CC: @IntersectMBO/plutus-core