-
Notifications
You must be signed in to change notification settings - Fork 125
Plutus costmodels (table)
Ruslan Dudin edited this page Jun 14, 2022
·
1 revision
Latest know costmodels (2022-06-14), upcoming for Vasil (Babbage) hard-fork. Note that some opcodes got renamed so they don't match between V1-Alonzo and V1-Vasil.
Command | PlutusV1 (Alonzo) | PlutusV1 (Vasil) | PlutusV2 (Vasil) |
---|---|---|---|
addInteger-cpu-arguments-intercept | 197209 | 205665 | 205665 |
addInteger-cpu-arguments-slope | 0 | 812 | 812 |
addInteger-memory-arguments-intercept | 1 | 1 | 1 |
addInteger-memory-arguments-slope | 1 | 1 | 1 |
appendByteString-cpu-arguments-intercept | 396231 | 1000 | 1000 |
appendByteString-cpu-arguments-slope | 621 | 571 | 571 |
appendByteString-memory-arguments-intercept | 0 | 0 | 0 |
appendByteString-memory-arguments-slope | 1 | 1 | 1 |
appendString-cpu-arguments-intercept | 150000 | 1000 | 1000 |
appendString-cpu-arguments-slope | 1000 | 24177 | 24177 |
appendString-memory-arguments-intercept | 0 | 4 | 4 |
appendString-memory-arguments-slope | 1 | 1 | 1 |
bData-cpu-arguments | 150000 | 1000 | 1000 |
bData-memory-arguments | 32 | 32 | 32 |
blake2b-cpu-arguments-intercept | 2477736 | - | - |
blake2b-cpu-arguments-slope | 29175 | - | - |
blake2b-memory-arguments | 4 | - | - |
blake2b_256-cpu-arguments-intercept | - | 117366 | 117366 |
blake2b_256-cpu-arguments-slope | - | 10475 | 10475 |
blake2b_256-memory-arguments | - | 4 | 4 |
cekApplyCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekApplyCost-exBudgetMemory | 100 | 100 | 100 |
cekBuiltinCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekBuiltinCost-exBudgetMemory | 100 | 100 | 100 |
cekConstCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekConstCost-exBudgetMemory | 100 | 100 | 100 |
cekDelayCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekDelayCost-exBudgetMemory | 100 | 100 | 100 |
cekForceCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekForceCost-exBudgetMemory | 100 | 100 | 100 |
cekLamCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekLamCost-exBudgetMemory | 100 | 100 | 100 |
cekStartupCost-exBudgetCPU | 100 | 100 | 100 |
cekStartupCost-exBudgetMemory | 100 | 100 | 100 |
cekVarCost-exBudgetCPU | 29773 | 23000 | 23000 |
cekVarCost-exBudgetMemory | 100 | 100 | 100 |
chooseData-cpu-arguments | 150000 | 19537 | 19537 |
chooseData-memory-arguments | 32 | 32 | 32 |
chooseList-cpu-arguments | 150000 | 175354 | 175354 |
chooseList-memory-arguments | 32 | 32 | 32 |
chooseUnit-cpu-arguments | 150000 | 46417 | 46417 |
chooseUnit-memory-arguments | 32 | 4 | 4 |
consByteString-cpu-arguments-intercept | 150000 | 221973 | 221973 |
consByteString-cpu-arguments-slope | 1000 | 511 | 511 |
consByteString-memory-arguments-intercept | 0 | 0 | 0 |
consByteString-memory-arguments-slope | 1 | 1 | 1 |
constrData-cpu-arguments | 150000 | 89141 | 89141 |
constrData-memory-arguments | 32 | 32 | 32 |
decodeUtf8-cpu-arguments-intercept | 150000 | 497525 | 497525 |
decodeUtf8-cpu-arguments-slope | 1000 | 14068 | 14068 |
decodeUtf8-memory-arguments-intercept | 0 | 4 | 4 |
decodeUtf8-memory-arguments-slope | 8 | 2 | 2 |
divideInteger-cpu-arguments-constant | 148000 | 196500 | 196500 |
divideInteger-cpu-arguments-model-arguments-intercept | 425507 | 453240 | 453240 |
divideInteger-cpu-arguments-model-arguments-slope | 118 | 220 | 220 |
divideInteger-memory-arguments-intercept | 0 | 0 | 0 |
divideInteger-memory-arguments-minimum | 1 | 1 | 1 |
divideInteger-memory-arguments-slope | 1 | 1 | 1 |
encodeUtf8-cpu-arguments-intercept | 150000 | 1000 | 1000 |
encodeUtf8-cpu-arguments-slope | 1000 | 28662 | 28662 |
encodeUtf8-memory-arguments-intercept | 0 | 4 | 4 |
encodeUtf8-memory-arguments-slope | 8 | 2 | 2 |
equalsByteString-cpu-arguments-constant | 150000 | 245000 | 245000 |
equalsByteString-cpu-arguments-intercept | 112536 | 216773 | 216773 |
equalsByteString-cpu-arguments-slope | 247 | 62 | 62 |
equalsByteString-memory-arguments | 1 | 1 | 1 |
equalsData-cpu-arguments-intercept | 150000 | 1060367 | 1060367 |
equalsData-cpu-arguments-slope | 10000 | 12586 | 12586 |
equalsData-memory-arguments | 1 | 1 | 1 |
equalsInteger-cpu-arguments-intercept | 136542 | 208512 | 208512 |
equalsInteger-cpu-arguments-slope | 1326 | 421 | 421 |
equalsInteger-memory-arguments | 1 | 1 | 1 |
equalsString-cpu-arguments-constant | 1000 | 187000 | 187000 |
equalsString-cpu-arguments-intercept | 150000 | 1000 | 1000 |
equalsString-cpu-arguments-slope | 1000 | 52998 | 52998 |
equalsString-memory-arguments | 1 | 1 | 1 |
fstPair-cpu-arguments | 150000 | 80436 | 80436 |
fstPair-memory-arguments | 32 | 32 | 32 |
headList-cpu-arguments | 150000 | 43249 | 43249 |
headList-memory-arguments | 32 | 32 | 32 |
iData-cpu-arguments | 150000 | 1000 | 1000 |
iData-memory-arguments | 32 | 32 | 32 |
ifThenElse-cpu-arguments | 1 | 80556 | 80556 |
ifThenElse-memory-arguments | 1 | 1 | 1 |
indexByteString-cpu-arguments | 150000 | 57667 | 57667 |
indexByteString-memory-arguments | 1 | 4 | 4 |
lengthOfByteString-cpu-arguments | 150000 | 1000 | 1000 |
lengthOfByteString-memory-arguments | 4 | 10 | 10 |
lessThanByteString-cpu-arguments-intercept | 103599 | 197145 | 197145 |
lessThanByteString-cpu-arguments-slope | 248 | 156 | 156 |
lessThanByteString-memory-arguments | 1 | 1 | 1 |
lessThanEqualsByteString-cpu-arguments-intercept | 103599 | 197145 | 197145 |
lessThanEqualsByteString-cpu-arguments-slope | 248 | 156 | 156 |
lessThanEqualsByteString-memory-arguments | 1 | 1 | 1 |
lessThanEqualsInteger-cpu-arguments-intercept | 145276 | 204924 | 204924 |
lessThanEqualsInteger-cpu-arguments-slope | 1366 | 473 | 473 |
lessThanEqualsInteger-memory-arguments | 1 | 1 | 1 |
lessThanInteger-cpu-arguments-intercept | 179690 | 208896 | 208896 |
lessThanInteger-cpu-arguments-slope | 497 | 511 | 511 |
lessThanInteger-memory-arguments | 1 | 1 | 1 |
listData-cpu-arguments | 150000 | 52467 | 52467 |
listData-memory-arguments | 32 | 32 | 32 |
mapData-cpu-arguments | 150000 | 64832 | 64832 |
mapData-memory-arguments | 32 | 32 | 32 |
mkCons-cpu-arguments | 150000 | 65493 | 65493 |
mkCons-memory-arguments | 32 | 32 | 32 |
mkNilData-cpu-arguments | 150000 | 22558 | 22558 |
mkNilData-memory-arguments | 32 | 32 | 32 |
mkNilPairData-cpu-arguments | 150000 | 16563 | 16563 |
mkNilPairData-memory-arguments | 32 | 32 | 32 |
mkPairData-cpu-arguments | 150000 | 76511 | 76511 |
mkPairData-memory-arguments | 32 | 32 | 32 |
modInteger-cpu-arguments-constant | 148000 | 196500 | 196500 |
modInteger-cpu-arguments-model-arguments-intercept | 425507 | 453240 | 453240 |
modInteger-cpu-arguments-model-arguments-slope | 118 | 220 | 220 |
modInteger-memory-arguments-intercept | 0 | 0 | 0 |
modInteger-memory-arguments-minimum | 1 | 1 | 1 |
modInteger-memory-arguments-slope | 1 | 1 | 1 |
multiplyInteger-cpu-arguments-intercept | 61516 | 69522 | 69522 |
multiplyInteger-cpu-arguments-slope | 11218 | 11687 | 11687 |
multiplyInteger-memory-arguments-intercept | 0 | 0 | 0 |
multiplyInteger-memory-arguments-slope | 1 | 1 | 1 |
nullList-cpu-arguments | 150000 | 60091 | 60091 |
nullList-memory-arguments | 32 | 32 | 32 |
quotientInteger-cpu-arguments-constant | 148000 | 196500 | 196500 |
quotientInteger-cpu-arguments-model-arguments-intercept | 425507 | 453240 | 453240 |
quotientInteger-cpu-arguments-model-arguments-slope | 118 | 220 | 220 |
quotientInteger-memory-arguments-intercept | 0 | 0 | 0 |
quotientInteger-memory-arguments-minimum | 1 | 1 | 1 |
quotientInteger-memory-arguments-slope | 1 | 1 | 1 |
remainderInteger-cpu-arguments-constant | 148000 | 196500 | 196500 |
remainderInteger-cpu-arguments-model-arguments-intercept | 425507 | 453240 | 453240 |
remainderInteger-cpu-arguments-model-arguments-slope | 118 | 220 | 220 |
remainderInteger-memory-arguments-intercept | 0 | 0 | 0 |
remainderInteger-memory-arguments-minimum | 1 | 1 | 1 |
remainderInteger-memory-arguments-slope | 1 | 1 | 1 |
serialiseData-cpu-arguments-intercept | - | - | 1159724 |
serialiseData-cpu-arguments-slope | - | - | 392670 |
serialiseData-memory-arguments-intercept | - | - | 0 |
serialiseData-memory-arguments-slope | - | - | 2 |
sha2_256-cpu-arguments-intercept | 2477736 | 806990 | 806990 |
sha2_256-cpu-arguments-slope | 29175 | 30482 | 30482 |
sha2_256-memory-arguments | 4 | 4 | 4 |
sha3_256-cpu-arguments-intercept | 0 | 1927926 | 1927926 |
sha3_256-cpu-arguments-slope | 82363 | 82523 | 82523 |
sha3_256-memory-arguments | 4 | 4 | 4 |
sliceByteString-cpu-arguments-intercept | 150000 | 265318 | 265318 |
sliceByteString-cpu-arguments-slope | 5000 | 0 | 0 |
sliceByteString-memory-arguments-intercept | 0 | 4 | 4 |
sliceByteString-memory-arguments-slope | 1 | 0 | 0 |
sndPair-cpu-arguments | 150000 | 85931 | 85931 |
sndPair-memory-arguments | 32 | 32 | 32 |
subtractInteger-cpu-arguments-intercept | 197209 | 205665 | 205665 |
subtractInteger-cpu-arguments-slope | 0 | 812 | 812 |
subtractInteger-memory-arguments-intercept | 1 | 1 | 1 |
subtractInteger-memory-arguments-slope | 1 | 1 | 1 |
tailList-cpu-arguments | 150000 | 41182 | 41182 |
tailList-memory-arguments | 32 | 32 | 32 |
trace-cpu-arguments | 150000 | 212342 | 212342 |
trace-memory-arguments | 32 | 32 | 32 |
unBData-cpu-arguments | 150000 | 31220 | 31220 |
unBData-memory-arguments | 32 | 32 | 32 |
unConstrData-cpu-arguments | 150000 | 32696 | 32696 |
unConstrData-memory-arguments | 32 | 32 | 32 |
unIData-cpu-arguments | 150000 | 43357 | 43357 |
unIData-memory-arguments | 32 | 32 | 32 |
unListData-cpu-arguments | 150000 | 32247 | 32247 |
unListData-memory-arguments | 32 | 32 | 32 |
unMapData-cpu-arguments | 150000 | 38314 | 38314 |
unMapData-memory-arguments | 32 | 32 | 32 |
verifyEcdsaSecp256k1Signature-cpu-arguments | - | - | 35892428 |
verifyEcdsaSecp256k1Signature-memory-arguments | - | - | 10 |
verifyEd25519Signature-cpu-arguments-intercept | - | 9462713 | 9462713 |
verifyEd25519Signature-cpu-arguments-slope | - | 1021 | 1021 |
verifyEd25519Signature-memory-arguments | - | 10 | 10 |
verifySchnorrSecp256k1Signature-cpu-arguments-intercept | - | - | 38887044 |
verifySchnorrSecp256k1Signature-cpu-arguments-slope | - | - | 32947 |
verifySchnorrSecp256k1Signature-memory-arguments | - | - | 10 |
verifySignature-cpu-arguments-intercept | 3345831 | - | - |
verifySignature-cpu-arguments-slope | 1 | - | - |
verifySignature-memory-arguments | 1 | - | - |