Skip to content

Commit

Permalink
fourmolu.yaml (#6643)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unisay authored Nov 18, 2024
1 parent b6ba25e commit edcb896
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions fourmolu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Number of spaces per indentation step
indentation: 2

# Max line length for automatic line breaking
column-limit: 100

# Styling of arrows in type signatures (choices: trailing, leading, or leading-args)
function-arrows: leading

# How to place commas in multi-line lists, records, etc. (choices: leading or trailing)
comma-style: leading

# Styling of import/export lists (choices: leading, trailing, or diff-friendly)
import-export-style: diff-friendly

# Whether to full-indent or half-indent 'where' bindings past the preceding body
indent-wheres: false

# Whether to leave a space before an opening record brace
record-brace-space: false

# Number of spaces between top-level declarations
newlines-between-decls: 1

# How to print Haddock comments (choices: single-line, multi-line, or multi-line-compact)
haddock-style: multi-line-compact

# How to print module docstring
haddock-style-module: null

# Styling of let blocks (choices: auto, inline, newline, or mixed)
let-style: auto

# How to align the 'in' keyword with respect to the 'let' keyword (choices: left-align, right-align, or no-space)
in-style: right-align

# Whether to put parentheses around a single constraint (choices: auto, always, or never)
single-constraint-parens: always

# Whether to put parentheses around a single deriving class (choices: auto, always, or never)
single-deriving-parens: auto

# Output Unicode syntax (choices: detect, always, or never)
unicode: never

# Give the programmer more choice on where to insert blank lines
respectful: true

# Fixity information for operators
fixities: []

# Module reexports Fourmolu should know about
reexports: []

1 comment on commit edcb896

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

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.

Benchmark suite Current: edcb896 Previous: b6ba25e Ratio
validation-crowdfunding-success-1 282.5 μs 268.6 μs 1.05
validation-crowdfunding-success-2 301.1 μs 213.4 μs 1.41
validation-crowdfunding-success-3 300.1 μs 214 μs 1.40
validation-currency-1 356 μs 255 μs 1.40
validation-escrow-redeem_1-1 498.1 μs 356 μs 1.40
validation-escrow-redeem_1-2 469.9 μs 357.5 μs 1.31
validation-escrow-redeem_2-2 470.7 μs 417 μs 1.13
validation-escrow-redeem_2-3 523.1 μs 417.1 μs 1.25
validation-future-increase-margin-4 532.9 μs 500 μs 1.07
validation-stablecoin_1-5 1630 μs 1479 μs 1.10
validation-stablecoin_1-6 355.9 μs 270.5 μs 1.32
validation-decode-auction_1-3 741.5 μs 546.5 μs 1.36
validation-decode-auction_1-4 268.7 μs 194.7 μs 1.38
validation-decode-auction_2-1 267.5 μs 194 μs 1.38
validation-decode-auction_2-2 752.4 μs 547.8 μs 1.37
validation-decode-auction_2-3 613.3 μs 549.1 μs 1.12
validation-decode-escrow-redeem_1-2 366.6 μs 317.1 μs 1.16
validation-decode-escrow-redeem_2-1 436 μs 317.5 μs 1.37
validation-decode-escrow-redeem_2-2 436.4 μs 317.1 μs 1.38
validation-decode-escrow-redeem_2-3 436.7 μs 315.4 μs 1.38
validation-decode-escrow-refund-1 402.4 μs 317.3 μs 1.27
validation-decode-future-increase-margin-2 430.3 μs 310.8 μs 1.38
validation-decode-future-increase-margin-3 417.1 μs 313.7 μs 1.33
validation-decode-game-sm-success_1-1 536.1 μs 506.6 μs 1.06
validation-decode-multisig-sm-5 681.3 μs 582.3 μs 1.17
validation-decode-multisig-sm-6 812.9 μs 582.9 μs 1.39
validation-decode-ping-pong_2-1 680.4 μs 489.3 μs 1.39
validation-decode-prism-1 219.5 μs 159.2 μs 1.38
validation-decode-prism-2 713.7 μs 523.4 μs 1.36
validation-decode-prism-3 332.6 μs 235.7 μs 1.41
validation-decode-pubkey-1 226.9 μs 181.4 μs 1.25
validation-decode-stablecoin_1-1 1189 μs 845.6 μs 1.41
validation-decode-stablecoin_1-2 226.5 μs 162.4 μs 1.39
validation-decode-stablecoin_1-3 1010 μs 864.9 μs 1.17
nofib-knights/4x4 25440 μs 18300 μs 1.39
nofib-knights/6x6 54270 μs 47790 μs 1.14
nofib-queens5x5/bm 85700 μs 79560 μs 1.08
nofib-queens5x5/bjbt1 124300 μs 88850 μs 1.40
nofib-queens5x5/bjbt2 120700 μs 88970 μs 1.36
nofib-queens5x5/fc 256500 μs 223500 μs 1.15
marlowe-role-payout/5efe992e306e31cc857c64a62436ad2f9325acc5b4a74a8cebccdfd853ce63d2 272.7 μs 197.7 μs 1.38
marlowe-role-payout/622a7f3bc611b5149253c9189da022a9ff296f60a5b7c172a6dc286faa7284fa 318.4 μs 231.2 μs 1.38
marlowe-role-payout/8c0fa5d9d6724c5c72c67e055d4bfc36a385ded7c3c81c08cdbd8705829af6e6 311.9 μs 270.2 μs 1.15
marlowe-role-payout/962c2c658b19904372984a56409707401e64e9b03c1986647134cfd329ec5139 284.5 μs 208.9 μs 1.36
marlowe-role-payout/996804e90f2c75fe68886fc8511304b8ab9b36785f8858f5cb098e91c159dde9 222.8 μs 197 μs 1.13
marlowe-role-payout/a6f064b83b31032ea7f25921364727224707268e472a569f584cc6b1d8c017e8 206.5 μs 193.3 μs 1.07
marlowe-role-payout/a7cb09f417c3f089619fe25b7624392026382b458486129efcff18f8912bf302 263 μs 191.7 μs 1.37
marlowe-role-payout/a92b4072cb8601fa697e1150c08463b14ffced54eb963df08d322216e27373cb 264.2 μs 193.9 μs 1.36
marlowe-role-payout/af2e072b5adfaa7211e0b341e1f7319c4f4e7364a4247c9247132a927e914753 308.2 μs 226 μs 1.36
marlowe-role-payout/b43564af5f13cc5208b92b1ad6d45369446f378d3891e5cb3e353b30d4f3fb10 264.1 μs 193 μs 1.37
marlowe-role-payout/b6243a5b4c353ce4852aa41705111d57867d2783eeef76f6d59beb2360da6e90 353.9 μs 258.8 μs 1.37
marlowe-role-payout/b869f3928200061abb1c3060425b9354b0e08cbf4400b340b8707c14b34317cd 383.2 μs 279 μs 1.37
marlowe-role-payout/bcdbc576d63b0454100ad06893812edafc2e7e4934fec1b44e2d06eb34f36eb8 265.5 μs 193.7 μs 1.37
marlowe-role-payout/bd460b7549b70c52e37b312a4242041eac18fe4a266f018bcea0c78a9085a271 302.1 μs 221.9 μs 1.36
marlowe-role-payout/bd79f4a84db23b7c4cd219d498bd581e085cbc3437957e74a8862281a700700b 284.9 μs 218.9 μs 1.30

This comment was automatically generated by workflow using github-action-benchmark.

CC: @IntersectMBO/plutus-core

Please sign in to comment.