-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kwxm/provisional conway cost model (#6087)
* Rename semantics variants * Change some names * Get uplc to use correct cost model for semvar * Dumping cost models * Dumping cost models * Tidy up exports and tests * Move a function * More updates * Fix some typos * Update models.R * Add updated cost models * Add updated cost models * Update test results * Remove obsolete entries from V3.ParamName * Fix cost model interface test * Fix (sort of) plutus-ledger-api tests * Various small fixes * Forgot to update parameters * Add changelog entries * Fix the changelog entries * Address PR review comments * Add costs for new builtins to V1 and V2 cost model files * Fix some dependencies in plutus-benchmark * Fix partial reversion of #6086 caused by merge * Remove old cost model files * Update/rename benchmark CSV files
- Loading branch information
Kenneth MacKenzie
authored
May 29, 2024
1 parent
d7a5c76
commit 00beff4
Showing
726 changed files
with
13,000 additions
and
1,266 deletions.
There are no files selected for viewing
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
32 changes: 16 additions & 16 deletions
32
plutus-benchmark/ed25519-costs/test/9.6/ed25519-costs.golden
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
n Script size CPU usage Memory usage | ||
---------------------------------------------------------------------- | ||
0 481 (2.9%) 5848112 (0.1%) 21522 (0.2%) | ||
10 2208 (13.5%) 732286512 (7.3%) 516352 (3.7%) | ||
20 3935 (24.0%) 1458724912 (14.6%) 1011182 (7.2%) | ||
30 5662 (34.6%) 2185163312 (21.9%) 1506012 (10.8%) | ||
40 7389 (45.1%) 2911601712 (29.1%) 2000842 (14.3%) | ||
50 9115 (55.6%) 3638040112 (36.4%) 2495672 (17.8%) | ||
60 10842 (66.2%) 4364478512 (43.6%) 2990502 (21.4%) | ||
70 12569 (76.7%) 5090916912 (50.9%) 3485332 (24.9%) | ||
80 14295 (87.2%) 5817355312 (58.2%) 3980162 (28.4%) | ||
90 16022 (97.8%) 6543793712 (65.4%) 4474992 (32.0%) | ||
100 17749 (108.3%) 7270232112 (72.7%) 4969822 (35.5%) | ||
110 19476 (118.9%) 7996670512 (80.0%) 5464652 (39.0%) | ||
120 21202 (129.4%) 8723108912 (87.2%) 5959482 (42.6%) | ||
130 22929 (139.9%) 9449547312 (94.5%) 6454312 (46.1%) | ||
140 24656 (150.5%) 10175985712 (101.8%) 6949142 (49.6%) | ||
150 26383 (161.0%) 10902424112 (109.0%) 7443972 (53.2%) | ||
0 481 (2.9%) 4458441 (0.0%) 21522 (0.2%) | ||
10 2208 (13.5%) 646843741 (6.5%) 516352 (3.7%) | ||
20 3935 (24.0%) 1289229041 (12.9%) 1011182 (7.2%) | ||
30 5662 (34.6%) 1931614341 (19.3%) 1506012 (10.8%) | ||
40 7389 (45.1%) 2573999641 (25.7%) 2000842 (14.3%) | ||
50 9115 (55.6%) 3216384941 (32.2%) 2495672 (17.8%) | ||
60 10842 (66.2%) 3858770241 (38.6%) 2990502 (21.4%) | ||
70 12569 (76.7%) 4501155541 (45.0%) 3485332 (24.9%) | ||
80 14295 (87.2%) 5143540841 (51.4%) 3980162 (28.4%) | ||
90 16022 (97.8%) 5785926141 (57.9%) 4474992 (32.0%) | ||
100 17749 (108.3%) 6428311441 (64.3%) 4969822 (35.5%) | ||
110 19476 (118.9%) 7070696741 (70.7%) 5464652 (39.0%) | ||
120 21202 (129.4%) 7713082041 (77.1%) 5959482 (42.6%) | ||
130 22929 (139.9%) 8355467341 (83.6%) 6454312 (46.1%) | ||
140 24656 (150.5%) 8997852641 (90.0%) 6949142 (49.6%) | ||
150 26383 (161.0%) 9640237941 (96.4%) 7443972 (53.2%) | ||
|
||
Off-chain version succeeded on 100 inputs |
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
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-builtin-list-10.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 278230764 | ||
({cpu: 196086904 | ||
| mem: 837952}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-builtin-list-100.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 23433064554 | ||
({cpu: 16341428194 | ||
| mem: 69498232}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-builtin-list-5.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 82807834 | ||
({cpu: 58837074 | ||
| mem: 253492}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-builtin-list-50.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 5975766004 | ||
({cpu: 4173000144 | ||
| mem: 17753632}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-scott-list-10.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 184072620 | ||
({cpu: 113745780 | ||
| mem: 538480}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-scott-list-100.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 14151996300 | ||
({cpu: 8662950900 | ||
| mem: 39539800}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-scott-list-5.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 58810710 | ||
({cpu: 36645190 | ||
| mem: 178640}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Lookup/9.6/match-scott-list-50.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 3652106700 | ||
({cpu: 2238212500 | ||
| mem: 10264400}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/left-fold-built-in.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 167321654 | ||
({cpu: 123874594 | ||
| mem: 533932}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/left-fold-data.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 361242389 | ||
({cpu: 272684232 | ||
| mem: 1083930}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/left-fold-scott.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 125205800 | ||
({cpu: 82856900 | ||
| mem: 454900}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/right-fold-built-in.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 174221654 | ||
({cpu: 128674594 | ||
| mem: 563932}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/right-fold-data.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 368142389 | ||
({cpu: 277484232 | ||
| mem: 1113930}) |
2 changes: 1 addition & 1 deletion
2
plutus-benchmark/lists/test/Sum/9.6/right-fold-scott.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 132105800 | ||
({cpu: 87656900 | ||
| mem: 484900}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0004000402010401030101030100040000010104020201030001000204020401.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 247988561 | ||
({cpu: 185634074 | ||
| mem: 876490}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0100000100010000000001000100010101000101000001000000010000010000.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 373215336 | ||
({cpu: 274904136 | ||
| mem: 1373904}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0101000100000101010000010101000100010101000001000001000000010101.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 267781649 | ||
({cpu: 200204188 | ||
| mem: 956454}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/01dcc372ea619cb9f23c45b17b9a0a8a16b7ca0e04093ef8ecce291667a99a4c.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 213732463 | ||
({cpu: 160863938 | ||
| mem: 747222}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0201020201020000020000010201020001020200000002010200000101010100.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 242342730 | ||
({cpu: 181505946 | ||
| mem: 850332}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0202010002010100020102020102020001010101020102010001010101000100.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 223274662 | ||
({cpu: 168188754 | ||
| mem: 778272}) |
2 changes: 1 addition & 1 deletion
2
...payout/9.6/0303020000020001010201060303040208070100050401080304020801030001.budget.golden
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
({cpu: 221459085 | ||
({cpu: 167027055 | ||
| mem: 771670}) |
Oops, something went wrong.
00beff4
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-decode-future-pay-out-1
247.6
μs224.1
μs1.10
validation-decode-future-settle-early-1
253.1
μs223.8
μs1.13
validation-decode-prism-3
243.4
μs225.2
μs1.08
validation-decode-stablecoin_2-2
167.5
μs158.3
μs1.06
validation-decode-uniswap-1
254.3
μs225.9
μs1.13
nofib-knights/6x6
45620
μs43190
μs1.06
nofib-knights/8x8
80610
μs75370
μs1.07
This comment was automatically generated by workflow using github-action-benchmark.
CC: @input-output-hk/plutus-core