aviatesk / JET.jl

An experimental code analyzer for Julia. No need for additional type annotations.
https://aviatesk.github.io/JET.jl/dev/
MIT License
733 stars 29 forks source link

virtualprocess: allow overly deep relative module paths in package loading #633

Closed aviatesk closed 4 months ago

aviatesk commented 4 months ago

The syntax import ..Submod refers to the name that is available within a parent module specified by the number of . dots, indicating how many levels up the module hierarchy to go. However, when it comes to package loading, it seems to work regardless of the number of dots. This inconsistency in behavior when loading as a script versus loading as a package is quite subtle, and ideally, there should be consistency. For now, in report_package, adjust modpath here to mimic the package loading behavior.

github-actions[bot] commented 4 months ago
JET Benchmark Result # Judge result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmarks: - Target: 22 May 2024 - 13:08 - Baseline: 22 May 2024 - 13:18 * Package commits: - Target: ba3a88 - Baseline: e878e0 * Julia commits: - Target: 0b4590 - Baseline: 0b4590 * 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 | |-------------------------------------------------------------|---------------|--------------| | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 1.15 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ### Target ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 1816 s 1 s 207 s 6903 s 0 s #2 2951 MHz 2124 s 0 s 210 s 6598 s 0 s #3 3243 MHz 2455 s 1 s 247 s 6217 s 0 s #4 3260 MHz 1447 s 0 s 221 s 7258 s 0 s Memory: 15.606502532958984 GB (12859.484375 MB free) Uptime: 897.37 sec Load Avg: 1.02 1.02 0.66 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 3525 s 1 s 362 s 11116 s 0 s #2 3217 MHz 4506 s 0 s 353 s 10152 s 0 s #3 3243 MHz 4006 s 1 s 422 s 10568 s 0 s #4 3289 MHz 2473 s 0 s 377 s 12153 s 0 s Memory: 15.606502532958984 GB (12951.0546875 MB free) Uptime: 1506.19 sec Load Avg: 1.01 1.07 0.92 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmark: 22 May 2024 - 13:8 * Package commit: ba3a88 * Julia commit: 0b4590 * 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 | |-------------------------------------------------------------|----------------:|-----------:|----------------:|------------:| | `["First-Time-To-JET", "package loading"]` | 176.132 ms (5%) | | 64.67 KiB (1%) | 17 | | `["First-Time-To-JET", "rand(Bool)"]` | 508.062 ms (5%) | | 65.08 KiB (1%) | 17 | | `["First-Time-To-JET", "sum(\"julia\")"]` | 256.193 ms (5%) | | 65.08 KiB (1%) | 17 | | `["JETAnalyzer{BasicPass} top-level", "demo"]` | 33.145 ms (5%) | | 2.11 MiB (1%) | 36377 | | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 9.952 s (5%) | 577.463 ms | 1.51 GiB (1%) | 28434554 | | `["JETAnalyzer{BasicPass} top-level", "simple"]` | 8.095 ms (5%) | | 2.02 MiB (1%) | 35434 | | `["JETAnalyzer{BasicPass}", "identity(nothing)"]` | 85.570 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"]` | 132.707 ms (5%) | | 43.20 MiB (1%) | 811062 | | `["JETAnalyzer{BasicPass}", "rand(Bool)"]` | 38.800 ms (5%) | | 14.53 MiB (1%) | 267172 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"]` | 131.175 μs (5%) | | 16.05 KiB (1%) | 227 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\")"]` | 5.184 ms (5%) | | 1.88 MiB (1%) | 33178 | | `["JETAnalyzer{SoundPass}", "identity(nothing)"]` | 84.768 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"]` | 172.021 ms (5%) | | 73.52 MiB (1%) | 948204 | | `["JETAnalyzer{SoundPass}", "rand(Bool)"]` | 42.885 ms (5%) | | 16.35 MiB (1%) | 283636 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"]` | 137.678 μs (5%) | | 19.67 KiB (1%) | 252 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\")"]` | 5.544 ms (5%) | | 1.93 MiB (1%) | 34387 | | `["OptAnalyzer", "identity(nothing)"]` | 126.357 μs (5%) | | 25.39 KiB (1%) | 362 | | `["OptAnalyzer", "println(QuoteNode(nothing))"]` | 471.213 ms (5%) | 45.874 ms | 235.85 MiB (1%) | 3470745 | | `["OptAnalyzer", "rand(Bool)"]` | 22.046 ms (5%) | | 14.20 MiB (1%) | 210792 | | `["OptAnalyzer", "sum(\"julia\") (cached)"]` | 225.511 μs (5%) | | 56.80 KiB (1%) | 774 | | `["OptAnalyzer", "sum(\"julia\")"]` | 10.886 ms (5%) | | 6.48 MiB (1%) | 96839 | | `["show(::IO, ::JETCallResult)", "report_call"]` | 4.581 ms (5%) | | 1.33 MiB (1%) | 18166 | | `["show(::IO, ::JETCallResult)", "report_opt"]` | 238.298 ms (5%) | | 74.12 MiB (1%) | 1146008 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 1816 s 1 s 207 s 6903 s 0 s #2 2951 MHz 2124 s 0 s 210 s 6598 s 0 s #3 3243 MHz 2455 s 1 s 247 s 6217 s 0 s #4 3260 MHz 1447 s 0 s 221 s 7258 s 0 s Memory: 15.606502532958984 GB (12859.484375 MB free) Uptime: 897.37 sec Load Avg: 1.02 1.02 0.66 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmark: 22 May 2024 - 13:18 * Package commit: e878e0 * Julia commit: 0b4590 * 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 | |-------------------------------------------------------------|----------------:|-----------:|----------------:|------------:| | `["First-Time-To-JET", "package loading"]` | 176.699 ms (5%) | | 64.67 KiB (1%) | 17 | | `["First-Time-To-JET", "rand(Bool)"]` | 508.712 ms (5%) | | 65.08 KiB (1%) | 17 | | `["First-Time-To-JET", "sum(\"julia\")"]` | 258.477 ms (5%) | | 65.08 KiB (1%) | 17 | | `["JETAnalyzer{BasicPass} top-level", "demo"]` | 32.939 ms (5%) | | 2.11 MiB (1%) | 36385 | | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 8.679 s (5%) | 599.051 ms | 1.51 GiB (1%) | 28429548 | | `["JETAnalyzer{BasicPass} top-level", "simple"]` | 8.185 ms (5%) | | 2.01 MiB (1%) | 35434 | | `["JETAnalyzer{BasicPass}", "identity(nothing)"]` | 87.964 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"]` | 135.499 ms (5%) | | 43.20 MiB (1%) | 811061 | | `["JETAnalyzer{BasicPass}", "rand(Bool)"]` | 38.691 ms (5%) | | 14.53 MiB (1%) | 267171 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"]` | 136.966 μs (5%) | | 16.05 KiB (1%) | 227 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\")"]` | 5.245 ms (5%) | | 1.88 MiB (1%) | 33178 | | `["JETAnalyzer{SoundPass}", "identity(nothing)"]` | 86.471 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"]` | 174.678 ms (5%) | | 73.69 MiB (1%) | 948242 | | `["JETAnalyzer{SoundPass}", "rand(Bool)"]` | 42.964 ms (5%) | | 16.35 MiB (1%) | 283638 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"]` | 138.729 μs (5%) | | 19.67 KiB (1%) | 252 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\")"]` | 5.590 ms (5%) | | 1.95 MiB (1%) | 34388 | | `["OptAnalyzer", "identity(nothing)"]` | 126.526 μs (5%) | | 25.39 KiB (1%) | 362 | | `["OptAnalyzer", "println(QuoteNode(nothing))"]` | 458.121 ms (5%) | 17.972 ms | 235.85 MiB (1%) | 3470738 | | `["OptAnalyzer", "rand(Bool)"]` | 21.883 ms (5%) | | 14.20 MiB (1%) | 210791 | | `["OptAnalyzer", "sum(\"julia\") (cached)"]` | 222.746 μs (5%) | | 56.80 KiB (1%) | 774 | | `["OptAnalyzer", "sum(\"julia\")"]` | 11.004 ms (5%) | | 6.48 MiB (1%) | 96839 | | `["show(::IO, ::JETCallResult)", "report_call"]` | 4.630 ms (5%) | | 1.33 MiB (1%) | 18166 | | `["show(::IO, ::JETCallResult)", "report_opt"]` | 243.859 ms (5%) | | 74.12 MiB (1%) | 1146008 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 3525 s 1 s 362 s 11116 s 0 s #2 3217 MHz 4506 s 0 s 353 s 10152 s 0 s #3 3243 MHz 4006 s 1 s 422 s 10568 s 0 s #4 3289 MHz 2473 s 0 s 377 s 12153 s 0 s Memory: 15.606502532958984 GB (12951.0546875 MB free) Uptime: 1506.19 sec Load Avg: 1.01 1.07 0.92 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (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: Vulnerable: 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; BHI 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 |
JET Benchmark Result # Judge result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmarks: - Target: 22 May 2024 - 13:08 - Baseline: 22 May 2024 - 13:18 * Package commits: - Target: ba3a88 - Baseline: e878e0 * Julia commits: - Target: 0b4590 - Baseline: 0b4590 * 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 | |-------------------------------------------------------------|---------------|--------------| | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 1.15 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ### Target ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 1816 s 1 s 207 s 6903 s 0 s #2 2951 MHz 2124 s 0 s 210 s 6598 s 0 s #3 3243 MHz 2455 s 1 s 247 s 6217 s 0 s #4 3260 MHz 1447 s 0 s 221 s 7258 s 0 s Memory: 15.606502532958984 GB (12859.484375 MB free) Uptime: 897.37 sec Load Avg: 1.02 1.02 0.66 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 3525 s 1 s 362 s 11116 s 0 s #2 3217 MHz 4506 s 0 s 353 s 10152 s 0 s #3 3243 MHz 4006 s 1 s 422 s 10568 s 0 s #4 3289 MHz 2473 s 0 s 377 s 12153 s 0 s Memory: 15.606502532958984 GB (12951.0546875 MB free) Uptime: 1506.19 sec Load Avg: 1.01 1.07 0.92 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Target result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmark: 22 May 2024 - 13:8 * Package commit: ba3a88 * Julia commit: 0b4590 * 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 | |-------------------------------------------------------------|----------------:|-----------:|----------------:|------------:| | `["First-Time-To-JET", "package loading"]` | 176.132 ms (5%) | | 64.67 KiB (1%) | 17 | | `["First-Time-To-JET", "rand(Bool)"]` | 508.062 ms (5%) | | 65.08 KiB (1%) | 17 | | `["First-Time-To-JET", "sum(\"julia\")"]` | 256.193 ms (5%) | | 65.08 KiB (1%) | 17 | | `["JETAnalyzer{BasicPass} top-level", "demo"]` | 33.145 ms (5%) | | 2.11 MiB (1%) | 36377 | | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 9.952 s (5%) | 577.463 ms | 1.51 GiB (1%) | 28434554 | | `["JETAnalyzer{BasicPass} top-level", "simple"]` | 8.095 ms (5%) | | 2.02 MiB (1%) | 35434 | | `["JETAnalyzer{BasicPass}", "identity(nothing)"]` | 85.570 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"]` | 132.707 ms (5%) | | 43.20 MiB (1%) | 811062 | | `["JETAnalyzer{BasicPass}", "rand(Bool)"]` | 38.800 ms (5%) | | 14.53 MiB (1%) | 267172 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"]` | 131.175 μs (5%) | | 16.05 KiB (1%) | 227 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\")"]` | 5.184 ms (5%) | | 1.88 MiB (1%) | 33178 | | `["JETAnalyzer{SoundPass}", "identity(nothing)"]` | 84.768 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"]` | 172.021 ms (5%) | | 73.52 MiB (1%) | 948204 | | `["JETAnalyzer{SoundPass}", "rand(Bool)"]` | 42.885 ms (5%) | | 16.35 MiB (1%) | 283636 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"]` | 137.678 μs (5%) | | 19.67 KiB (1%) | 252 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\")"]` | 5.544 ms (5%) | | 1.93 MiB (1%) | 34387 | | `["OptAnalyzer", "identity(nothing)"]` | 126.357 μs (5%) | | 25.39 KiB (1%) | 362 | | `["OptAnalyzer", "println(QuoteNode(nothing))"]` | 471.213 ms (5%) | 45.874 ms | 235.85 MiB (1%) | 3470745 | | `["OptAnalyzer", "rand(Bool)"]` | 22.046 ms (5%) | | 14.20 MiB (1%) | 210792 | | `["OptAnalyzer", "sum(\"julia\") (cached)"]` | 225.511 μs (5%) | | 56.80 KiB (1%) | 774 | | `["OptAnalyzer", "sum(\"julia\")"]` | 10.886 ms (5%) | | 6.48 MiB (1%) | 96839 | | `["show(::IO, ::JETCallResult)", "report_call"]` | 4.581 ms (5%) | | 1.33 MiB (1%) | 18166 | | `["show(::IO, ::JETCallResult)", "report_opt"]` | 238.298 ms (5%) | | 74.12 MiB (1%) | 1146008 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 1816 s 1 s 207 s 6903 s 0 s #2 2951 MHz 2124 s 0 s 210 s 6598 s 0 s #3 3243 MHz 2455 s 1 s 247 s 6217 s 0 s #4 3260 MHz 1447 s 0 s 221 s 7258 s 0 s Memory: 15.606502532958984 GB (12859.484375 MB free) Uptime: 897.37 sec Load Avg: 1.02 1.02 0.66 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` --- # Baseline result # Benchmark Report for */home/runner/work/JET.jl/JET.jl* ## Job Properties * Time of benchmark: 22 May 2024 - 13:18 * Package commit: e878e0 * Julia commit: 0b4590 * 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 | |-------------------------------------------------------------|----------------:|-----------:|----------------:|------------:| | `["First-Time-To-JET", "package loading"]` | 176.699 ms (5%) | | 64.67 KiB (1%) | 17 | | `["First-Time-To-JET", "rand(Bool)"]` | 508.712 ms (5%) | | 65.08 KiB (1%) | 17 | | `["First-Time-To-JET", "sum(\"julia\")"]` | 258.477 ms (5%) | | 65.08 KiB (1%) | 17 | | `["JETAnalyzer{BasicPass} top-level", "demo"]` | 32.939 ms (5%) | | 2.11 MiB (1%) | 36385 | | `["JETAnalyzer{BasicPass} top-level", "self analysis"]` | 8.679 s (5%) | 599.051 ms | 1.51 GiB (1%) | 28429548 | | `["JETAnalyzer{BasicPass} top-level", "simple"]` | 8.185 ms (5%) | | 2.01 MiB (1%) | 35434 | | `["JETAnalyzer{BasicPass}", "identity(nothing)"]` | 87.964 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"]` | 135.499 ms (5%) | | 43.20 MiB (1%) | 811061 | | `["JETAnalyzer{BasicPass}", "rand(Bool)"]` | 38.691 ms (5%) | | 14.53 MiB (1%) | 267171 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"]` | 136.966 μs (5%) | | 16.05 KiB (1%) | 227 | | `["JETAnalyzer{BasicPass}", "sum(\"julia\")"]` | 5.245 ms (5%) | | 1.88 MiB (1%) | 33178 | | `["JETAnalyzer{SoundPass}", "identity(nothing)"]` | 86.471 μs (5%) | | 7.94 KiB (1%) | 113 | | `["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"]` | 174.678 ms (5%) | | 73.69 MiB (1%) | 948242 | | `["JETAnalyzer{SoundPass}", "rand(Bool)"]` | 42.964 ms (5%) | | 16.35 MiB (1%) | 283638 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"]` | 138.729 μs (5%) | | 19.67 KiB (1%) | 252 | | `["JETAnalyzer{SoundPass}", "sum(\"julia\")"]` | 5.590 ms (5%) | | 1.95 MiB (1%) | 34388 | | `["OptAnalyzer", "identity(nothing)"]` | 126.526 μs (5%) | | 25.39 KiB (1%) | 362 | | `["OptAnalyzer", "println(QuoteNode(nothing))"]` | 458.121 ms (5%) | 17.972 ms | 235.85 MiB (1%) | 3470738 | | `["OptAnalyzer", "rand(Bool)"]` | 21.883 ms (5%) | | 14.20 MiB (1%) | 210791 | | `["OptAnalyzer", "sum(\"julia\") (cached)"]` | 222.746 μs (5%) | | 56.80 KiB (1%) | 774 | | `["OptAnalyzer", "sum(\"julia\")"]` | 11.004 ms (5%) | | 6.48 MiB (1%) | 96839 | | `["show(::IO, ::JETCallResult)", "report_call"]` | 4.630 ms (5%) | | 1.33 MiB (1%) | 18166 | | `["show(::IO, ::JETCallResult)", "report_opt"]` | 243.859 ms (5%) | | 74.12 MiB (1%) | 1146008 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["First-Time-To-JET"]` - `["JETAnalyzer{BasicPass} top-level"]` - `["JETAnalyzer{BasicPass}"]` - `["JETAnalyzer{SoundPass}"]` - `["OptAnalyzer"]` - `["show(::IO, ::JETCallResult)"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1021-azure #22~22.04.1-Ubuntu SMP Tue Apr 30 16:08:18 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 3525 s 1 s 362 s 11116 s 0 s #2 3217 MHz 4506 s 0 s 353 s 10152 s 0 s #3 3243 MHz 4006 s 1 s 422 s 10568 s 0 s #4 3289 MHz 2473 s 0 s 377 s 12153 s 0 s Memory: 15.606502532958984 GB (12951.0546875 MB free) Uptime: 1506.19 sec Load Avg: 1.01 1.07 0.92 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (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: Vulnerable: 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; BHI 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 |