Skip to content

Instantly share code, notes, and snippets.

@cameel
cameel / solc-seqbench-2024-04-18-sequence-the-good-parts-mk2-cancun.md
Created April 22, 2024 08:44
solc-seqbench report 2024-04-18 sequence: the-good-parts-mk2 (cancun)

Sequence the-good-parts-mk2, cancun, all contracts and calls

Input

  • solc version: 0.8.26-seqbench.2024.4.18+commit.55cb7a7d.mod.Linux.g++
  • EVM version: cancun

Sequence

# Sequence constructed of only those parts of the default sequence that seem to improve metrics on test input.
# Second refinement, adjusted to improve results for the erc20.sol contract.
@cameel
cameel / solc-seqbench-2024-04-18-sequence-the-good-parts-mk3-cancun.md
Last active May 15, 2024 18:01
solc-seqbench report 2024-04-18 sequence: the-good-parts-mk3 (cancun)

Sequence the-good-parts-mk3, cancun, all contracts and calls

Input

  • solc version: 0.8.26-seqbench.2024.4.18+commit.55cb7a7d.mod.Linux.g++
  • EVM version: cancun

Sequence

# Sequence constructed of only those parts of the default sequence that seem to improve metrics on test input.
# Third refinement:
@cameel
cameel / solc-seqbench-2024-03-26-contract-strings.md
Created March 6, 2024 13:38
solc-seqbench report 2024-03-06 contract: strings (default and single-pass vs the-good-parts)

Contract strings, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

strings.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-03-26-contract-ramanujan_pi.md
Created March 6, 2024 13:38
solc-seqbench report 2024-03-06 contract: ramanujan_pi (default and single-pass vs the-good-parts)

Contract ramanujan_pi, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

ramanujan_pi.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-03-26-contract-prbmath_unsigned.md
Created March 6, 2024 13:38
solc-seqbench report 2024-03-06 contract: prbmath_unsigned (default and single-pass vs the-good-parts)

Contract prbmath_unsigned, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

prbmath_unsigned.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-03-26-contract-FixedFeeRegistrar.md
Created March 6, 2024 13:37
solc-seqbench report 2024-03-06 contract: FixedFeeRegistrar (default and single-pass vs the-good-parts)

Contract FixedFeeRegistrar, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

FixedFeeRegistrar.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-03-26-contract-deposit_contract.md
Created March 6, 2024 13:37
solc-seqbench report 2024-03-06 contract: deposit_contract (default and single-pass vs the-good-parts)

Contract deposit_contract, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

deposit_contract.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-03-06-sequence-the-good-parts.md
Created March 6, 2024 13:37
solc-seqbench report 2024-03-06 sequence: the-good-parts

Sequence the-good-parts, all contracts and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Sequence

# Sequence constructed of only those parts of the default sequence that seem to improve metrics on test input.

dhfoDgvulfnTUtnIf # None of these can make stack problems worse
@cameel
cameel / solc-seqbench-2024-02-27-contract-strings.md
Created February 28, 2024 18:55
solc-seqbench report 2024-02-27 contract: strings

Contract strings, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

strings.sol

soltest-input:

@cameel
cameel / solc-seqbench-2024-02-27-contract-ramanujan_pi.md
Created February 28, 2024 18:55
solc-seqbench report 2024-02-27 contract: ramanujan_pi (no-cse sequences)

Contract ramanujan_pi, all sequences and calls

Input

solc version: 0.8.25-seqbench.2024.2.14+commit.a2cabcb9.mod.Linux.g++

Contract and calls

ramanujan_pi.sol

soltest-input: