-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Evaluation] [Names] Define all lookups in terms of 'contIndexZero' (#…
…6702) Instead of 4 different implementation this will make it 1 main and 3 derivative ones. This appears to make the validation benchmarks faster by a percent and the nofib benchmarks faster by a couple of percent while simplifying the code, so a clear win.
- Loading branch information
1 parent
b570f32
commit 34e9bf2
Showing
3 changed files
with
65 additions
and
88 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...ore/changelog.d/20241126_020822_effectfully_define_1_indexing_via_0_indexing.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Changed | ||
|
||
- In #6702 made variable lookup faster increasing overall performance of the evaluator by 1%. |
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
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
34e9bf2
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
180.3
μs164.3
μs1.10
validation-auction_1-2
585.8
μs533.6
μs1.10
validation-auction_1-3
587.8
μs534.4
μs1.10
validation-auction_1-4
234.4
μs219.4
μs1.07
validation-auction_2-1
180.4
μs164.3
μs1.10
validation-auction_2-2
582.6
μs532.1
μs1.09
validation-auction_2-3
758.1
μs692.4
μs1.09
validation-auction_2-4
584.7
μs531.1
μs1.10
validation-auction_2-5
232.9
μs211.7
μs1.10
validation-crowdfunding-success-1
211
μs190.2
μs1.11
validation-crowdfunding-success-2
211.9
μs191.4
μs1.11
validation-crowdfunding-success-3
212.1
μs189.8
μs1.12
validation-currency-1
232.7
μs212.6
μs1.09
validation-escrow-redeem_1-1
331.9
μs300.7
μs1.10
validation-escrow-redeem_2-1
386.7
μs348.7
μs1.11
validation-future-increase-margin-2
484.6
μs453.4
μs1.07
validation-future-increase-margin-3
486.6
μs442.7
μs1.10
validation-future-increase-margin-4
449.3
μs414.9
μs1.08
validation-future-increase-margin-5
741.2
μs684.1
μs1.08
validation-future-pay-out-1
233.1
μs212.1
μs1.10
validation-future-settle-early-3
485.5
μs442.8
μs1.10
validation-game-sm-success_1-2
192.6
μs181.5
μs1.06
validation-stablecoin_1-2
196.4
μs178.8
μs1.10
validation-decode-auction_1-1
211
μs192.5
μs1.10
validation-decode-multisig-sm-4
621.2
μs574.9
μs1.08
validation-decode-multisig-sm-5
622.5
μs576.6
μs1.08
validation-decode-multisig-sm-6
622.6
μs567.8
μs1.10
validation-decode-multisig-sm-7
620.5
μs575.8
μs1.08
validation-decode-multisig-sm-8
622.3
μs574.2
μs1.08
validation-decode-multisig-sm-9
621.9
μs574.2
μs1.08
validation-decode-multisig-sm-10
620.3
μs574.2
μs1.08
validation-decode-ping-pong-1
521.7
μs482.8
μs1.08
validation-decode-ping-pong-2
522.3
μs481.7
μs1.08
validation-decode-ping-pong_2-1
522.1
μs471.5
μs1.11
validation-decode-prism-1
174.7
μs158.2
μs1.10
validation-decode-prism-2
557.1
μs515.3
μs1.08
validation-decode-prism-3
255.1
μs234.5
μs1.09
validation-decode-stablecoin_1-1
921.1
μs834.2
μs1.10
validation-decode-stablecoin_1-2
178.7
μs160.5
μs1.11
validation-decode-stablecoin_1-3
920.4
μs832.6
μs1.11
validation-decode-stablecoin_1-4
178.7
μs167.2
μs1.07
marlowe-semantics/5e274e0f593511543d41570a4b03646c1d7539062b5728182e073e5760561a66
988.4
μs905.9
μs1.09
marlowe-semantics/5e2c68ac9f62580d626636679679b97109109df7ac1a8ce86d3e43dfb5e4f6bc
512
μs472.1
μs1.08
marlowe-semantics/5f130d19918807b60eab4c03119d67878fb6c6712c28c54f5a25792049294acc
305.5
μs280.4
μs1.09
marlowe-semantics/5f306b4b24ff2b39dab6cdc9ac6ca9bb442c1dc6f4e7e412eeb5a3ced42fb642
744.3
μs700.7
μs1.06
marlowe-semantics/66af9e473d75e3f464971f6879cc0f2ef84bafcb38fbfa1dbc31ac2053628a38
1268
μs1162
μs1.09
marlowe-semantics/675d63836cad11b547d1b4cddd498f04c919d4342612accf40913f9ae9419fac
1010
μs929.9
μs1.09
marlowe-semantics/67ba5a9a0245ee3aff4f34852b9889b8c810fccd3dce2a23910bddd35c503b71
6053
μs5602
μs1.08
marlowe-semantics/6d88f7294dd2b5ce02c3dc609bc7715bd508009738401d264bf9b3eb7c6f49c1
481.4
μs440
μs1.09
marlowe-semantics/70f65b21b77ddb451f3df9d9fb403ced3d10e1e953867cc4900cc25e5b9dec47
784.1
μs719.9
μs1.09
marlowe-semantics/71965c9ccae31f1ffc1d85aa20a356d4ed97a420954018d8301ec4f9783be0d7
468.4
μs429.3
μs1.09
marlowe-semantics/74c67f2f182b9a0a66c62b95d6fac5ace3f7e71ea3abfc52ffbe3ecb93436ea2
774.6
μs711.8
μs1.09
marlowe-semantics/7529b206a78becb793da74b78c04d9d33a2540a1abd79718e681228f4057403a
781.3
μs712.2
μs1.10
marlowe-semantics/75a8bb183688bce447e00f435a144c835435e40a5defc6f3b9be68b70b4a3db6
685.9
μs630.6
μs1.09
marlowe-semantics/7a758e17486d1a30462c32a5d5309bd1e98322a9dcbe277c143ed3aede9d265f
525.1
μs479
μs1.10
marlowe-semantics/7cbc5644b745f4ea635aca42cce5e4a4b9d2e61afdb3ac18128e1688c07071ba
462.2
μs423.7
μs1.09
marlowe-semantics/82213dfdb6a812b40446438767c61a388d2c0cfd0cbf7fd4a372b0dc59fa17e1
1317
μs1205
μs1.09
marlowe-semantics/8c7fdc3da6822b5112074380003524f50fb3a1ce6db4e501df1086773c6c0201
1128
μs1026
μs1.10
marlowe-semantics/8d9ae67656a2911ab15a8e5301c960c69aa2517055197aff6b60a87ff718d66c
350.2
μs320.8
μs1.09
marlowe-semantics/96e1a2fa3ceb9a402f2a5841a0b645f87b4e8e75beb636692478ec39f74ee221
304.9
μs279
μs1.09
marlowe-role-payout/c99ecc2146ce2066ba6dffc734923264f8794815acbc2ec74c2c2c42ba272e4d
213.5
μs195.7
μs1.09
marlowe-role-payout/caa409c40e39aed9b0f59214b4baa178c375526dea6026b4552b88d2cc729716
170.1
μs154.9
μs1.10
marlowe-role-payout/cb2ab8e22d1f64e8d204dece092e90e9bf1fa8b2a6e9cba5012dbe4978065832
180.8
μs164.6
μs1.10
marlowe-role-payout/cc1e82927f6c65b3e912200ae30588793d2066e1d4a6627c21955944ac9bd528
199.3
μs181.9
μs1.10
marlowe-role-payout/d5cda74eb0947e025e02fb8ed365df39d0a43e4b42cd3573ac2d8fcb29115997
195.1
μs178.9
μs1.09
marlowe-role-payout/d6bc8ac4155e22300085784148bbc9d9bbfea896e1009dd396610a90e3943032
198.3
μs181.4
μs1.09
marlowe-role-payout/da353bf9219801fa1bf703fc161497570954e9af7e10ffe95c911a9ef97e77bd
182.8
μs166.4
μs1.10
marlowe-role-payout/dc45c5f1b700b1334db99f50823321daaef0e6925b9b2fabbc9df7cde65af62e
185.9
μs169.7
μs1.10
marlowe-role-payout/df487b2fd5c1583fa33644423849bc1ab5f02f37edc0c235f34ef01cb12604f6
185.1
μs168.3
μs1.10
marlowe-role-payout/eabeeae18131af89fa57936c0e9eb8d2c7adba534f7e1a517d75410028fa0d6c
179.1
μs161.9
μs1.11
marlowe-role-payout/ec4712ee820eb959a43ebedfab6735f2325fa52994747526ffd2a4f4f84dd58e
201.7
μs183.8
μs1.10
marlowe-role-payout/ee3962fbd7373360f46decef3c9bda536a0b1daf6cda3b8a4bcfd6deeb5b4c53
200.8
μs184.3
μs1.09
marlowe-role-payout/f1a1e6a487f91feca5606f72bbb1e948c71abf043c6a0ea83bfea9ec6a0f08d8
178.4
μs162.2
μs1.10
marlowe-role-payout/f2932e4ca4bbb94b0a9ffbe95fcb7bd5639d9751d75d56d5e14efa5bbed981df
175.9
μs160.3
μs1.10
marlowe-role-payout/f53e8cafe26647ccce51e4c31db13608aea1f39034c0f52dee2e5634ef66e747
193.1
μs176.8
μs1.09
marlowe-role-payout/f7275afb60e33a550df13a132102e7e925dd28965a4efbe510a89b077ff9417f
178.3
μs161.7
μs1.10
marlowe-role-payout/fc8c5f45ffcdb024c21e0f34b22c23de8045a94d5e1a5bda1555c45ddb059f82
184.8
μs168.1
μs1.10
marlowe-role-payout/ff38b1ec89952d0247630f107a90cbbeb92ecbfcd19b284f60255718e4ec7548
210.6
μs191.8
μs1.10
This comment was automatically generated by workflow using github-action-benchmark.
CC: @IntersectMBO/plutus-core