Skip to content

Commit

Permalink
Preserve logging by default (#6814)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliu41 authored Jan 31, 2025
1 parent 7dd2bcf commit 8ec3367
Show file tree
Hide file tree
Showing 131 changed files with 364 additions and 307 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For each boolean option, you can add a `no-` prefix to switch it off, such as `n
|`max-simplifier-iterations-uplc`|Int|12|Set the max iterations for the UPLC simplifier|
|`optimize`|Bool|True|Run optimization passes such as simplification and floating let-bindings.|
|`pedantic`|Bool|False|Run type checker after each compilation pass|
|`preserve-logging`|Bool|False|Turn off optimisations that may alter (i.e., add, remove or change the order of) trace messages. Implied by `conservative-optimisation`.|
|`preserve-logging`|Bool|True|Turn off optimisations that may alter (i.e., add, remove or change the order of) trace messages. Implied by `conservative-optimisation`.|
|`profile-all`|ProfileOpts|None|Set profiling options to All, which adds tracing when entering and exiting a term.|
|`relaxed-float-in`|Bool|True|Use a more aggressive float-in pass, which often leads to reduced costs but may occasionally lead to slightly increased costs. Implied by `no-conservative-optimisation`.|
|`remove-trace`|Bool|False|Eliminate calls to `trace` from Plutus Core|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ Aggregate Single Key

n Script size CPU usage Memory usage
----------------------------------------------------------------------
- 777 (4.7%) 2720886359 (27.2%) 70002 (0.5%)
- 846 (5.2%) 2720886359 (27.2%) 70002 (0.5%)

Aggregate Multi Key

n Script size CPU usage Memory usage
----------------------------------------------------------------------
- 1705 (10.4%) 3446371236 (34.5%) 422386 (3.0%)
- 1832 (11.2%) 3446371236 (34.5%) 422386 (3.0%)

Schnorr Signature G1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 296480915
| mem: 1475965})
({cpu: 296528915
| mem: 1476265})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 416680478
| mem: 1808528})
({cpu: 416728478
| mem: 1808828})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 992009702
| mem: 5142818})
({cpu: 992057702
| mem: 5143118})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 755538042
| mem: 3552893})
({cpu: 755586042
| mem: 3553193})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 855609402
| mem: 2547332})
({cpu: 855657402
| mem: 2547632})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 744705759
| mem: 3635170})
({cpu: 744753759
| mem: 3635470})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 730421036
| mem: 3661329})
({cpu: 730469036
| mem: 3661629})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 697293323
| mem: 3345463})
({cpu: 697341323
| mem: 3345763})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1036569658
| mem: 4815093})
({cpu: 1036617658
| mem: 4815393})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1011269329
| mem: 4433346})
({cpu: 1011317329
| mem: 4433646})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 979623047
| mem: 4889359})
({cpu: 979671047
| mem: 4889659})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1089261394
| mem: 5395461})
({cpu: 1089309394
| mem: 5395761})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1324502269
| mem: 6452210})
({cpu: 1324550269
| mem: 6452510})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 445661686
| mem: 2248383})
({cpu: 445709686
| mem: 2248683})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 706030441
| mem: 3475611})
({cpu: 706078441
| mem: 3475911})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 465452894
| mem: 2340575})
({cpu: 465500894
| mem: 2340875})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 706062636
| mem: 3519083})
({cpu: 706110636
| mem: 3519383})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 279273310
| mem: 1391825})
({cpu: 279321310
| mem: 1392125})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 875298084
| mem: 4227252})
({cpu: 875346084
| mem: 4227552})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 728212042
| mem: 3343409})
({cpu: 728260042
| mem: 3343709})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 279327868
| mem: 1391825})
({cpu: 279375868
| mem: 1392125})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 964932104
| mem: 1330754})
({cpu: 964980104
| mem: 1331054})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 3877242919
| mem: 1750286})
({cpu: 3877290919
| mem: 1750586})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 335540681
| mem: 1656650})
({cpu: 335588681
| mem: 1656950})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 516550002
| mem: 2635502})
({cpu: 516598002
| mem: 2635802})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1766738702
| mem: 1754906})
({cpu: 1766786702
| mem: 1755206})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 868071320
| mem: 3330552})
({cpu: 868119320
| mem: 3330852})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 739717728
| mem: 3714295})
({cpu: 739765728
| mem: 3714595})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 729269245
| mem: 3416764})
({cpu: 729317245
| mem: 3417064})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1103689807
| mem: 5617376})
({cpu: 1103737807
| mem: 5617676})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 279273310
| mem: 1391825})
({cpu: 279321310
| mem: 1392125})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 433456222
| mem: 2188467})
({cpu: 433504222
| mem: 2188767})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 588336620
| mem: 2977388})
({cpu: 588384620
| mem: 2977688})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 710149597
| mem: 3473136})
({cpu: 710197597
| mem: 3473436})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 774667900
| mem: 3710944})
({cpu: 774715900
| mem: 3711244})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 988359900
| mem: 4976993})
({cpu: 988407900
| mem: 4977293})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 655167703
| mem: 3292901})
({cpu: 655215703
| mem: 3293201})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 374325225
| mem: 1688192})
({cpu: 374373225
| mem: 1688492})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 338810631
| mem: 1654987})
({cpu: 338858631
| mem: 1655287})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 346354133
| mem: 1689453})
({cpu: 346402133
| mem: 1689753})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 741543997
| mem: 3777860})
({cpu: 741591997
| mem: 3778160})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 276827370
| mem: 1385523})
({cpu: 276875370
| mem: 1385823})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 458928366
| mem: 2313067})
({cpu: 458976366
| mem: 2313367})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 1006112544
| mem: 4843767})
({cpu: 1006160544
| mem: 4844067})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 969541440
| mem: 4784949})
({cpu: 969589440
| mem: 4785249})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 488335895
| mem: 2422605})
({cpu: 488383895
| mem: 2422905})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 279273310
| mem: 1391825})
({cpu: 279321310
| mem: 1392125})
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
({cpu: 708845591
| mem: 3544116})
({cpu: 708893591
| mem: 3544416})
Loading

0 comments on commit 8ec3367

Please sign in to comment.