Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs on data-backed ScriptContext #6759

Merged
merged 3 commits into from
Jan 6, 2025

Address review comment

bd9591f
Select commit
Loading
Failed to load commit list.
Merged

Add docs on data-backed ScriptContext #6759

Address review comment
bd9591f
Select commit
Loading
Failed to load commit list.
Garnix CI / check plutus-benchmark-lists-tests [x86_64-linux] succeeded Jan 6, 2025 in 10m 11s

Run results

Build succeeded

Details

Last 100 lines of logs:

https://cache.nixos.org/xl99svgv90azg5bs1m18p7chc200pw2z.narinfo
https://cache.garnix.io/xl99svgv90azg5bs1m18p7chc200pw2z.narinfo
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/xxp9f06q2x485prbypycas8883109ivs-source-plutus-benchmark-test-plutus-benchmark-lists-tests-root
source root is source-plutus-benchmark-test-plutus-benchmark-lists-tests-root
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
/nix/store/0362v544mz04pznalcm17y153sjhgfvn-plutus-benchmark-test-plutus-benchmark-lists-tests-0.1.0.0/bin:
patching script interpreter paths in /build/tmp.MHg0bozeFC/bin
plutus-benchmark list tests
  plutus-benchmark list-sort tests
    GHC sort (Haskell):                        OK
      +++ OK, passed 100 tests.
    GHC sort (Plutus):                         OK (2.91s)
      +++ OK, passed 100 tests.
    insertion sort (Haskell):                  OK
      +++ OK, passed 100 tests.
    insertion sort (Plutus):                   OK (2.62s)
      +++ OK, passed 100 tests.
    merge sort (Haskell):                      OK
      +++ OK, passed 100 tests.
    merge sort (Plutus):                       OK (2.70s)
      +++ OK, passed 100 tests.
    quicksort (Haskell):                       OK
      +++ OK, passed 100 tests.
    quicksort (Plutus):                        OK (2.57s)
      +++ OK, passed 100 tests.
  plutus-benchmark list-sum tests
    correct evaluation
      Handwritten right fold (Scott lists):    OK (1.52s)
        +++ OK, passed 100 tests.
      Handwritten right fold (built-in lists): OK (0.63s)
        +++ OK, passed 100 tests.
      Compiled right fold (Scott lists):       OK (1.55s)
        +++ OK, passed 100 tests.
      Compiled right fold (built-in lists):    OK (0.66s)
        +++ OK, passed 100 tests.
      Compiled right fold (data lists):        OK (0.72s)
        +++ OK, passed 100 tests.
      Handwritten left fold (Scott lists):     OK (1.45s)
        +++ OK, passed 100 tests.
      Handwritten left fold (built-in lists):  OK (0.65s)
        +++ OK, passed 100 tests.
      Compiled left fold (Scott lists):        OK (1.58s)
        +++ OK, passed 100 tests.
      Compiled left fold (built-in lists):     OK (0.67s)
        +++ OK, passed 100 tests.
      Compiled left fold (data lists):         OK (0.73s)
        +++ OK, passed 100 tests.
    Sum
      9.6
        right-fold-scott:                      OK (0.05s)
        right-fold-built-in:                   OK (0.02s)
        right-fold-data:                       OK (0.02s)
        left-fold-scott:                       OK (0.04s)
        left-fold-built-in:                    OK (0.02s)
        left-fold-data:                        OK (0.02s)
  Lookup
    9.6
      match-scott-list-5:                      OK (0.03s)
      match-builtin-list-5:                    OK (0.02s)
      match-scott-list-10:                     OK (0.04s)
      match-builtin-list-10:                   OK (0.02s)
      match-scott-list-50:                     OK (0.07s)
      match-builtin-list-50:                   OK (0.04s)
      match-scott-list-100:                    OK (0.14s)
      match-builtin-list-100:                  OK (0.08s)

All 32 tests passed (2.91s)