JuliaDynamics / ResumableFunctions.jl

C# style generators a.k.a. semi-coroutines for Julia.
Other
160 stars 19 forks source link

Support for self-referencing functionals #89

Closed Krastanov closed 8 months ago

Krastanov commented 8 months ago

This builds upon #88 -- it is one single commit more. It will look much simpler after #88 is merged.

Fixes #77

I.e after this is merged we can do things like

struct A
    a::Int
end
@resumable function (f::A)()
    @yield f.a
end
@assert collect(A(1)()) == [1]
codecov-commenter commented 8 months ago

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (bd9557e) 84.39% compared to head (6903679) 81.29%.

:exclamation: Current head 6903679 differs from pull request most recent head 5d147b5. Consider uploading reports for the commit 5d147b5 to get more accurate results

Files Patch % Lines
src/macro.jl 50.00% 10 Missing :warning:
src/safe_logging.jl 30.76% 9 Missing :warning:
src/utils.jl 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #89 +/- ## ========================================== - Coverage 84.39% 81.29% -3.11% ========================================== Files 5 6 +1 Lines 391 417 +26 ========================================== + Hits 330 339 +9 - Misses 61 78 +17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 8 months ago
Benchmark Result # Judge result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmarks: - Target: 8 Feb 2024 - 03:28 - Baseline: 8 Feb 2024 - 03:29 * Package commits: - Target: 5fb81a - Baseline: 0963f4 * Julia commits: - Target: 72d3ab - Baseline: 72d3ab * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |---------------------------------------------------------|---------------|--------------| | `["hardcoded types", "BigInt", "Closure optimized"]` | 1.10 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 1.11 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Direct"]` | 1.18 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Closure statemachine"]` | 1.82 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Iteration protocol"]` | 1.82 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ### Target ``` Julia Version 1.11.0-DEV.1500 Commit 72d3abeb0e8 (2024-02-07 21:28 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 3280 MHz 622 s 0 s 143 s 1623 s 0 s #2 3244 MHz 585 s 0 s 98 s 1701 s 0 s #3 2445 MHz 359 s 0 s 101 s 1929 s 0 s #4 3057 MHz 596 s 0 s 137 s 1652 s 0 s Memory: 15.60690689086914 GB (13637.04296875 MB free) Uptime: 241.33 sec Load Avg: 1.1 0.68 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.11.0-DEV.1500 Commit 72d3abeb0e8 (2024-02-07 21:28 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 818 s 0 s 160 s 1837 s 0 s #2 2445 MHz 727 s 0 s 123 s 1960 s 0 s #3 3265 MHz 374 s 0 s 104 s 2337 s 0 s #4 3242 MHz 630 s 0 s 141 s 2041 s 0 s Memory: 15.60690689086914 GB (13953.73828125 MB free) Uptime: 284.04 sec Load Avg: 1.05 0.72 0.32 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 8 Feb 2024 - 3:28 * Package commit: 5fb81a * Julia commit: 72d3ab * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 185.255 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 189.083 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 56.595 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 63.058 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.907 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.408 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.479 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.719 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.764 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.156 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.895 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 175.027 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 177.512 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 51.095 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.277 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.537 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 61.368 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.194 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 61.674 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.141 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1500 Commit 72d3abeb0e8 (2024-02-07 21:28 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 3280 MHz 622 s 0 s 143 s 1623 s 0 s #2 3244 MHz 585 s 0 s 98 s 1701 s 0 s #3 2445 MHz 359 s 0 s 101 s 1929 s 0 s #4 3057 MHz 596 s 0 s 137 s 1652 s 0 s Memory: 15.60690689086914 GB (13637.04296875 MB free) Uptime: 241.33 sec Load Avg: 1.1 0.68 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 8 Feb 2024 - 3:29 * Package commit: 0963f4 * Julia commit: 72d3ab * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 184.114 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 188.542 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.904 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.096 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.548 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 3.966 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.409 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.153 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.776 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.189 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.184 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 174.286 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 176.830 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 51.116 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.077 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.980 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.630 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.134 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.936 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.941 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.052 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1500 Commit 72d3abeb0e8 (2024-02-07 21:28 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 818 s 0 s 160 s 1837 s 0 s #2 2445 MHz 727 s 0 s 123 s 1960 s 0 s #3 3265 MHz 374 s 0 s 104 s 2337 s 0 s #4 3242 MHz 630 s 0 s 141 s 2041 s 0 s Memory: 15.60690689086914 GB (13953.73828125 MB free) Uptime: 284.04 sec Load Avg: 1.05 0.72 0.32 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `lbt` | | `Sys.CPU_THREADS` | 4 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD EPYC 7763 64-Core Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 4890.85 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm Virtualization: AMD-V Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 1 MiB (2 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; safe RET, no microcode Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected | Cpu Property | Value | |:------------------ |:---------------------------------------------------------- | | Brand | AMD EPYC 7763 64-Core Processor | | Vendor | :AMD | | Architecture | :Unknown | | Model | Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00 | | Cores | 16 physical cores, 16 logical cores (on executing CPU) | | | No Hyperthreading hardware capability detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 512, 32768) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 48 bits physical | | SIMD | 256 bit = 32 byte max. SIMD vector size | | Time Stamp Counter | TSC is accessible via `rdtsc` | | | TSC runs at constant rate (invariant from clock frequency) | | Perf. Monitoring | Performance Monitoring Counters (PMC) are not supported | | Hypervisor | Yes, Microsoft |
Benchmark Result # Judge result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmarks: - Target: 12 Feb 2024 - 02:16 - Baseline: 12 Feb 2024 - 02:17 * Package commits: - Target: 1361d1 - Baseline: bd9557 * Julia commits: - Target: c4bec9 - Baseline: c4bec9 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |---------------------------------------------------------|---------------|--------------| | `["hardcoded types", "BigInt", "Closure optimized"]` | 1.14 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 1.16 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Closure"]` | 1.24 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Direct"]` | 1.16 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 1.19 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 1.12 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Closure statemachine"]` | 1.82 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ### Target ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 562 s 0 s 99 s 1788 s 0 s #2 0 MHz 560 s 0 s 135 s 1729 s 0 s #3 0 MHz 592 s 0 s 126 s 1727 s 0 s #4 0 MHz 453 s 0 s 122 s 1870 s 0 s Memory: 15.60690689086914 GB (13695.6875 MB free) Uptime: 247.3 sec Load Avg: 1.11 0.68 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 583 s 0 s 106 s 2172 s 0 s #2 0 MHz 705 s 0 s 155 s 1976 s 0 s #3 0 MHz 690 s 0 s 145 s 2023 s 0 s #4 0 MHz 564 s 0 s 127 s 2167 s 0 s Memory: 15.60690689086914 GB (14042.62109375 MB free) Uptime: 288.58 sec Load Avg: 1.16 0.76 0.33 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 12 Feb 2024 - 2:16 * Package commit: 1361d1 * Julia commit: c4bec9 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 198.300 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 201.265 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.594 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.436 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.931 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.506 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 6.013 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.733 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.900 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.153 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 30.147 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 185.467 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 187.550 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.604 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.006 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.537 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 61.368 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.103 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.930 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.562 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 562 s 0 s 99 s 1788 s 0 s #2 0 MHz 560 s 0 s 135 s 1729 s 0 s #3 0 MHz 592 s 0 s 126 s 1727 s 0 s #4 0 MHz 453 s 0 s 122 s 1870 s 0 s Memory: 15.60690689086914 GB (13695.6875 MB free) Uptime: 247.3 sec Load Avg: 1.11 0.68 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 12 Feb 2024 - 2:17 * Package commit: bd9557 * Julia commit: c4bec9 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 196.196 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 200.554 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.855 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.778 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.439 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 3.882 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 4.860 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.230 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.271 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 3.703 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.334 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 184.314 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 187.099 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.354 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.176 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.979 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.640 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.103 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.930 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.372 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 583 s 0 s 106 s 2172 s 0 s #2 0 MHz 705 s 0 s 155 s 1976 s 0 s #3 0 MHz 690 s 0 s 145 s 2023 s 0 s #4 0 MHz 564 s 0 s 127 s 2167 s 0 s Memory: 15.60690689086914 GB (14042.62109375 MB free) Uptime: 288.58 sec Load Avg: 1.16 0.76 0.33 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `lbt` | | `Sys.CPU_THREADS` | 4 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD EPYC 7763 64-Core Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 4890.85 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm Virtualization: AMD-V Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 1 MiB (2 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; safe RET, no microcode Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected | Cpu Property | Value | |:------------------ |:---------------------------------------------------------- | | Brand | AMD EPYC 7763 64-Core Processor | | Vendor | :AMD | | Architecture | :Unknown | | Model | Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00 | | Cores | 16 physical cores, 16 logical cores (on executing CPU) | | | No Hyperthreading hardware capability detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 512, 32768) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 48 bits physical | | SIMD | 256 bit = 32 byte max. SIMD vector size | | Time Stamp Counter | TSC is accessible via `rdtsc` | | | TSC runs at constant rate (invariant from clock frequency) | | Perf. Monitoring | Performance Monitoring Counters (PMC) are not supported | | Hypervisor | Yes, Microsoft |
Benchmark Result # Judge result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmarks: - Target: 12 Feb 2024 - 02:26 - Baseline: 12 Feb 2024 - 02:27 * Package commits: - Target: 6d16fe - Baseline: bd9557 * Julia commits: - Target: c4bec9 - Baseline: c4bec9 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |---------------------------------------------------------|------------------------------|--------------| | `["hardcoded types", "BigInt", "Closure optimized"]` | 1.14 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 1.11 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 1.14 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 1.24 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 0.55 (5%) :white_check_mark: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ### Target ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 769 s 0 s 184 s 2880 s 0 s #2 0 MHz 471 s 0 s 96 s 3264 s 0 s #3 0 MHz 464 s 0 s 125 s 3244 s 0 s #4 0 MHz 457 s 0 s 91 s 3291 s 0 s Memory: 15.60690689086914 GB (13639.26953125 MB free) Uptime: 386.14 sec Load Avg: 1.04 0.62 0.26 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 779 s 0 s 186 s 3285 s 0 s #2 0 MHz 500 s 0 s 99 s 3649 s 0 s #3 0 MHz 559 s 0 s 130 s 3562 s 0 s #4 0 MHz 703 s 0 s 130 s 3424 s 0 s Memory: 15.60690689086914 GB (14016.4453125 MB free) Uptime: 428.01 sec Load Avg: 1.02 0.67 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 12 Feb 2024 - 2:26 * Package commit: 6d16fe * Julia commit: c4bec9 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 196.998 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 201.887 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 56.134 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 63.438 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.936 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.441 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.203 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.758 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.835 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.602 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.475 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 187.430 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 187.601 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.465 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.227 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.587 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.132 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.349 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.930 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.637 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.262 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 769 s 0 s 184 s 2880 s 0 s #2 0 MHz 471 s 0 s 96 s 3264 s 0 s #3 0 MHz 464 s 0 s 125 s 3244 s 0 s #4 0 MHz 457 s 0 s 91 s 3291 s 0 s Memory: 15.60690689086914 GB (13639.26953125 MB free) Uptime: 386.14 sec Load Avg: 1.04 0.62 0.26 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 12 Feb 2024 - 2:27 * Package commit: bd9557 * Julia commit: c4bec9 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 198.490 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 199.403 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.985 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 63.028 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.466 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 3.984 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.150 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.681 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.357 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 3.713 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.505 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 186.959 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 185.898 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.604 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.247 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.647 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.931 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.164 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.349 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.930 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 61.373 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 17.473 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1561 Commit c4bec9ac7b7 (2024-02-11 18:44 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 779 s 0 s 186 s 3285 s 0 s #2 0 MHz 500 s 0 s 99 s 3649 s 0 s #3 0 MHz 559 s 0 s 130 s 3562 s 0 s #4 0 MHz 703 s 0 s 130 s 3424 s 0 s Memory: 15.60690689086914 GB (14016.4453125 MB free) Uptime: 428.01 sec Load Avg: 1.02 0.67 0.29 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `lbt` | | `Sys.CPU_THREADS` | 4 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD EPYC 7763 64-Core Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 4890.85 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm Virtualization: AMD-V Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 1 MiB (2 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; safe RET, no microcode Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected | Cpu Property | Value | |:------------------ |:---------------------------------------------------------- | | Brand | AMD EPYC 7763 64-Core Processor | | Vendor | :AMD | | Architecture | :Unknown | | Model | Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00 | | Cores | 16 physical cores, 16 logical cores (on executing CPU) | | | No Hyperthreading hardware capability detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 512, 32768) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 48 bits physical | | SIMD | 256 bit = 32 byte max. SIMD vector size | | Time Stamp Counter | TSC is accessible via `rdtsc` | | | TSC runs at constant rate (invariant from clock frequency) | | Perf. Monitoring | Performance Monitoring Counters (PMC) are not supported | | Hypervisor | Yes, Microsoft |
Benchmark Result # Judge result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmarks: - Target: 14 Feb 2024 - 03:02 - Baseline: 14 Feb 2024 - 03:03 * Package commits: - Target: bd9ad8 - Baseline: bd9557 * Julia commits: - Target: ba34d8 - Baseline: ba34d8 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |---------------------------------------------------------|------------------------------|--------------| | `["hardcoded types", "BigInt", "Closure"]` | 1.16 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 1.15 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Closure"]` | 1.08 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Iteration protocol"]` | 0.55 (5%) :white_check_mark: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ### Target ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 656 s 0 s 114 s 5428 s 0 s #2 0 MHz 281 s 0 s 68 s 5833 s 0 s #3 0 MHz 706 s 0 s 170 s 5324 s 0 s #4 0 MHz 540 s 0 s 141 s 5515 s 0 s Memory: 15.60690689086914 GB (13582.51171875 MB free) Uptime: 622.48 sec Load Avg: 1.07 0.64 0.27 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 661 s 0 s 117 s 5836 s 0 s #2 0 MHz 380 s 0 s 82 s 6136 s 0 s #3 0 MHz 848 s 0 s 196 s 5573 s 0 s #4 0 MHz 671 s 0 s 150 s 5792 s 0 s Memory: 15.60690689086914 GB (13904.3828125 MB free) Uptime: 664.15 sec Load Avg: 1.09 0.7 0.31 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 14 Feb 2024 - 3:2 * Package commit: bd9ad8 * Julia commit: ba34d8 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 195.924 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 199.891 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 56.115 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.967 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.971 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.432 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 6.060 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.817 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.877 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.234 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 30.286 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 186.607 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 190.865 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.904 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.718 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.647 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.217 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.358 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.637 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 18.384 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 656 s 0 s 114 s 5428 s 0 s #2 0 MHz 281 s 0 s 68 s 5833 s 0 s #3 0 MHz 706 s 0 s 170 s 5324 s 0 s #4 0 MHz 540 s 0 s 141 s 5515 s 0 s Memory: 15.60690689086914 GB (13582.51171875 MB free) Uptime: 622.48 sec Load Avg: 1.07 0.64 0.27 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 14 Feb 2024 - 3:3 * Package commit: bd9557 * Julia commit: ba34d8 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 196.105 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 201.855 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.613 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.847 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.970 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.462 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.210 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.884 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.377 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.255 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 30.056 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 188.601 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 189.472 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.875 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.597 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.647 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.940 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.049 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.349 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 61.675 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 33.627 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 18.364 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 661 s 0 s 117 s 5836 s 0 s #2 0 MHz 380 s 0 s 82 s 6136 s 0 s #3 0 MHz 848 s 0 s 196 s 5573 s 0 s #4 0 MHz 671 s 0 s 150 s 5792 s 0 s Memory: 15.60690689086914 GB (13904.3828125 MB free) Uptime: 664.15 sec Load Avg: 1.09 0.7 0.31 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `lbt` | | `Sys.CPU_THREADS` | 4 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD EPYC 7763 64-Core Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 4890.86 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm Virtualization: AMD-V Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 1 MiB (2 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; safe RET, no microcode Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected | Cpu Property | Value | |:------------------ |:---------------------------------------------------------- | | Brand | AMD EPYC 7763 64-Core Processor | | Vendor | :AMD | | Architecture | :Unknown | | Model | Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00 | | Cores | 16 physical cores, 16 logical cores (on executing CPU) | | | No Hyperthreading hardware capability detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 512, 32768) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 48 bits physical | | SIMD | 256 bit = 32 byte max. SIMD vector size | | Time Stamp Counter | TSC is accessible via `rdtsc` | | | TSC runs at constant rate (invariant from clock frequency) | | Perf. Monitoring | Performance Monitoring Counters (PMC) are not supported | | Hypervisor | Yes, Microsoft |
Benchmark Result # Judge result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmarks: - Target: 14 Feb 2024 - 03:17 - Baseline: 14 Feb 2024 - 03:17 * Package commits: - Target: 343088 - Baseline: 1fe3ab * Julia commits: - Target: ba34d8 - Baseline: ba34d8 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |---------------------------------------------------------|------------------------------|--------------| | `["hardcoded types", "BigInt", "Closure statemachine"]` | 0.93 (5%) :white_check_mark: | 1.00 (1%) | | `["hardcoded types", "BigInt", "Closure"]` | 1.21 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Closure statemachine"]` | 0.55 (5%) :white_check_mark: | 1.00 (1%) | | `["hardcoded types", "Int64", "Closure"]` | 1.10 (5%) :x: | 1.00 (1%) | | `["hardcoded types", "Int64", "Iteration protocol"]` | 0.55 (5%) :white_check_mark: | 1.00 (1%) | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 1.81 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ### Target ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 274 s 0 s 79 s 2038 s 0 s #2 0 MHz 422 s 0 s 119 s 1846 s 0 s #3 0 MHz 709 s 0 s 141 s 1541 s 0 s #4 0 MHz 785 s 0 s 142 s 1467 s 0 s Memory: 15.606903076171875 GB (13645.921875 MB free) Uptime: 241.89 sec Load Avg: 1.05 0.66 0.28 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 294 s 0 s 83 s 2450 s 0 s #2 0 MHz 425 s 0 s 124 s 2275 s 0 s #3 0 MHz 767 s 0 s 152 s 1909 s 0 s #4 0 MHz 1102 s 0 s 175 s 1555 s 0 s Memory: 15.606903076171875 GB (13968.28515625 MB free) Uptime: 285.67 sec Load Avg: 1.02 0.71 0.32 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 14 Feb 2024 - 3:17 * Package commit: 343088 * Julia commit: ba34d8 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 195.884 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 201.104 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.573 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 62.907 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.991 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.462 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 6.233 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.847 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.909 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.252 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.785 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 187.318 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 190.434 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.534 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.226 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.980 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 33.637 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.246 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 33.626 ns (5%) | | | | | `["hardcoded types", "Int64", "ResumableFunctions"]` | 61.367 ns (5%) | | | | | `["hardcoded types", "Int64", "Task scheduling"]` | 19.105 μs (5%) | | 2.03 KiB (1%) | 85 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["hardcoded types", "BigInt"]` - `["hardcoded types", "Int64"]` ## Julia versioninfo ``` Julia Version 1.11.0-DEV.1590 Commit ba34d899edc (2024-02-13 15:33 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.3 LTS uname: Linux 6.2.0-1019-azure #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 0 MHz 274 s 0 s 79 s 2038 s 0 s #2 0 MHz 422 s 0 s 119 s 1846 s 0 s #3 0 MHz 709 s 0 s 141 s 1541 s 0 s #4 0 MHz 785 s 0 s 142 s 1467 s 0 s Memory: 15.606903076171875 GB (13645.921875 MB free) Uptime: 241.89 sec Load Avg: 1.05 0.66 0.28 WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ResumableFunctions.jl/ResumableFunctions.jl* ## Job Properties * Time of benchmark: 14 Feb 2024 - 3:17 * Package commit: 1fe3ab * Julia commit: ba34d8 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |---------------------------------------------------------|----------------:|--------:|--------------:|------------:| | `["hardcoded types", "BigInt", "Channels csize=0"]` | 197.297 μs (5%) | | 7.69 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=1"]` | 202.597 μs (5%) | | 7.75 KiB (1%) | 312 | | `["hardcoded types", "BigInt", "Channels csize=100"]` | 55.814 μs (5%) | | 9.56 KiB (1%) | 314 | | `["hardcoded types", "BigInt", "Channels csize=20"]` | 63.027 μs (5%) | | 8.11 KiB (1%) | 313 | | `["hardcoded types", "BigInt", "Closure optimized"]` | 3.984 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Closure statemachine"]` | 4.780 μs (5%) | | 4.53 KiB (1%) | 195 | | `["hardcoded types", "BigInt", "Closure"]` | 5.146 μs (5%) | | 4.47 KiB (1%) | 192 | | `["hardcoded types", "BigInt", "Direct"]` | 3.851 μs (5%) | | 4.39 KiB (1%) | 188 | | `["hardcoded types", "BigInt", "Iteration protocol"]` | 3.909 μs (5%) | | 4.48 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "ResumableFunctions"]` | 4.213 μs (5%) | | 4.50 KiB (1%) | 191 | | `["hardcoded types", "BigInt", "Task scheduling"]` | 29.735 μs (5%) | | 5.25 KiB (1%) | 197 | | `["hardcoded types", "Int64", "Channels csize=0"]` | 185.766 μs (5%) | | 3.02 KiB (1%) | 107 | | `["hardcoded types", "Int64", "Channels csize=1"]` | 188.370 μs (5%) | | 1.86 KiB (1%) | 29 | | `["hardcoded types", "Int64", "Channels csize=100"]` | 50.384 μs (5%) | | 3.67 KiB (1%) | 31 | | `["hardcoded types", "Int64", "Channels csize=20"]` | 57.046 μs (5%) | | 2.22 KiB (1%) | 30 | | `["hardcoded types", "Int64", "Closure optimized"]` | 17.537 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure statemachine"]` | 61.373 ns (5%) | | | | | `["hardcoded types", "Int64", "Closure"]` | 2.047 μs (5%) | | 1.28 KiB (1%) | 82 | | `["hardcoded types", "Int64", "Direct"]` | 18.198 ns (5%) | | | | | `["hardcoded types", "Int64", "Iteration protocol"]` | 61....*[Comment body truncated]*
Krastanov commented 8 months ago

This is ready now. It is about 8 lines of new code (a very simple update to the macro), a lot of inline comments to document what was already there for the sake of new maintainers, and tests.

I will wait until late next week in case any worries come up in a review and I will then merge. Let me know if you want me to wait longer for a review (and if generally you prefer me to never merge anything without a review).

This is needed by QuantumSavory.jl