Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add minimum adjustments to JuliaLang/julia#52233 #612

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

aviatesk
Copy link
Owner

This lacks invalidation support (since this commit still uses the external code cache), but this lets JET to run on the latest nightly at least.

Copy link

codecov bot commented Feb 13, 2024

Codecov Report

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

Comparison is base (b44ed4f) 89.50% compared to head (75dbaf3) 89.44%.

Files Patch % Lines
src/abstractinterpret/typeinfer.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #612      +/-   ##
==========================================
- Coverage   89.50%   89.44%   -0.06%     
==========================================
  Files          10       10              
  Lines        3000     3002       +2     
==========================================
  Hits         2685     2685              
- Misses        315      317       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This lacks invalidation support (since this commit still uses the
external code cache), but this lets JET to run on the latest nightly
at least.
@aviatesk aviatesk force-pushed the avi/minimum-JuliaLang/julia/52233 branch from 75dbaf3 to 09905ef Compare February 13, 2024 19:31
@aviatesk aviatesk merged commit 5dd6e1d into master Feb 13, 2024
12 of 22 checks passed
@aviatesk aviatesk deleted the avi/minimum-JuliaLang/julia/52233 branch February 13, 2024 19:31
Copy link

github-actions bot commented Feb 13, 2024

JET Benchmark Result

Judge result

Benchmark Report for /home/runner/work/JET.jl/JET.jl

Job Properties

  • Time of benchmarks:
  • Target: 13 Feb 2024 - 19:46
  • Baseline: 13 Feb 2024 - 19:56
  • Package commits:
  • Target: c1dce6
  • Baseline: 5dd6e1
  • 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 ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). 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}", "identity(nothing)"] 0.85 (5%) ✅ 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.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 2294 s 0 s 160 s 5845 s 0 s
 #2 0 MHz 1626 s 0 s 182 s 6486 s 0 s
 #3 0 MHz 2509 s 0 s 188 s 5586 s 0 s
 #4 0 MHz 2278 s 0 s 171 s 5855 s 0 s
 Memory: 15.60690689086914 GB (11791.19140625 MB free)
 Uptime: 834.1 sec
 Load Avg: 1.0 1.0 0.69
 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 3988 s 0 s 265 s 10041 s 0 s
 #2 0 MHz 2688 s 0 s 307 s 11294 s 0 s
 #3 0 MHz 4545 s 0 s 287 s 9450 s 0 s
 #4 0 MHz 3639 s 0 s 294 s 10368 s 0 s
 Memory: 15.60690689086914 GB (11671.96484375 MB free)
 Uptime: 1434.88 sec
 Load Avg: 1.1 1.05 0.89
 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/JET.jl/JET.jl

Job Properties

  • Time of benchmark: 13 Feb 2024 - 19:46
  • Package commit: c1dce6
  • 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
["First-Time-To-JET", "package loading"] 735.235 ms (5%) 64.82 KiB (1%) 23
["First-Time-To-JET", "rand(Bool)"] 564.739 ms (5%) 65.23 KiB (1%) 23
["First-Time-To-JET", "sum(\"julia\")"] 200.594 ms (5%) 65.23 KiB (1%) 23
["JETAnalyzer{BasicPass} top-level", "demo"] 31.842 ms (5%) 1.99 MiB (1%) 42540
["JETAnalyzer{BasicPass} top-level", "self analysis"] 4.969 s (5%) 1.03 GiB (1%) 22985513
["JETAnalyzer{BasicPass} top-level", "simple"] 7.620 ms (5%) 1.98 MiB (1%) 45977
["JETAnalyzer{BasicPass}", "identity(nothing)"] 68.749 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"] 104.728 ms (5%) 37.57 MiB (1%) 882442
["JETAnalyzer{BasicPass}", "rand(Bool)"] 51.128 ms (5%) 18.33 MiB (1%) 428017
["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"] 132.618 μs (5%) 15.08 KiB (1%) 258
["JETAnalyzer{BasicPass}", "sum(\"julia\")"] 5.183 ms (5%) 1.86 MiB (1%) 43121
["JETAnalyzer{SoundPass}", "identity(nothing)"] 74.229 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"] 123.148 ms (5%) 51.45 MiB (1%) 981150
["JETAnalyzer{SoundPass}", "rand(Bool)"] 55.234 ms (5%) 20.44 MiB (1%) 451020
["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"] 133.339 μs (5%) 17.70 KiB (1%) 291
["JETAnalyzer{SoundPass}", "sum(\"julia\")"] 5.171 ms (5%) 1.91 MiB (1%) 44275
["OptAnalyzer", "identity(nothing)"] 57.478 μs (5%) 6.25 KiB (1%) 135
["OptAnalyzer", "println(QuoteNode(nothing))"] 407.706 ms (5%) 257.98 MiB (1%) 5206820
["OptAnalyzer", "rand(Bool)"] 27.965 ms (5%) 18.14 MiB (1%) 381836
["OptAnalyzer", "sum(\"julia\") (cached)"] 206.175 μs (5%) 63.14 KiB (1%) 1108
["OptAnalyzer", "sum(\"julia\")"] 11.802 ms (5%) 8.05 MiB (1%) 166497
["show(::IO, ::JETCallResult)", "report_call"] 3.653 ms (5%) 1.14 MiB (1%) 9477
["show(::IO, ::JETCallResult)", "report_opt"] 12.574 μs (5%) 728 bytes (1%) 19

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.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 2294 s 0 s 160 s 5845 s 0 s
 #2 0 MHz 1626 s 0 s 182 s 6486 s 0 s
 #3 0 MHz 2509 s 0 s 188 s 5586 s 0 s
 #4 0 MHz 2278 s 0 s 171 s 5855 s 0 s
 Memory: 15.60690689086914 GB (11791.19140625 MB free)
 Uptime: 834.1 sec
 Load Avg: 1.0 1.0 0.69
 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/JET.jl/JET.jl

Job Properties

  • Time of benchmark: 13 Feb 2024 - 19:56
  • Package commit: 5dd6e1
  • 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
["First-Time-To-JET", "package loading"] 738.281 ms (5%) 64.82 KiB (1%) 23
["First-Time-To-JET", "rand(Bool)"] 565.756 ms (5%) 65.23 KiB (1%) 23
["First-Time-To-JET", "sum(\"julia\")"] 199.990 ms (5%) 65.23 KiB (1%) 23
["JETAnalyzer{BasicPass} top-level", "demo"] 31.325 ms (5%) 1.99 MiB (1%) 42540
["JETAnalyzer{BasicPass} top-level", "self analysis"] 4.953 s (5%) 1.03 GiB (1%) 22985513
["JETAnalyzer{BasicPass} top-level", "simple"] 7.589 ms (5%) 1.99 MiB (1%) 45979
["JETAnalyzer{BasicPass}", "identity(nothing)"] 80.791 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"] 102.448 ms (5%) 37.57 MiB (1%) 882442
["JETAnalyzer{BasicPass}", "rand(Bool)"] 50.597 ms (5%) 18.33 MiB (1%) 428017
["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"] 126.376 μs (5%) 15.08 KiB (1%) 258
["JETAnalyzer{BasicPass}", "sum(\"julia\")"] 5.207 ms (5%) 1.86 MiB (1%) 43121
["JETAnalyzer{SoundPass}", "identity(nothing)"] 72.856 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"] 124.365 ms (5%) 51.45 MiB (1%) 981150
["JETAnalyzer{SoundPass}", "rand(Bool)"] 55.115 ms (5%) 20.44 MiB (1%) 451020
["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"] 132.688 μs (5%) 17.70 KiB (1%) 291
["JETAnalyzer{SoundPass}", "sum(\"julia\")"] 5.333 ms (5%) 1.90 MiB (1%) 44273
["OptAnalyzer", "identity(nothing)"] 57.207 μs (5%) 6.25 KiB (1%) 135
["OptAnalyzer", "println(QuoteNode(nothing))"] 410.766 ms (5%) 258.23 MiB (1%) 5206822
["OptAnalyzer", "rand(Bool)"] 28.263 ms (5%) 18.14 MiB (1%) 381836
["OptAnalyzer", "sum(\"julia\") (cached)"] 205.193 μs (5%) 63.14 KiB (1%) 1108
["OptAnalyzer", "sum(\"julia\")"] 12.029 ms (5%) 8.06 MiB (1%) 166499
["show(::IO, ::JETCallResult)", "report_call"] 3.679 ms (5%) 1.14 MiB (1%) 9477
["show(::IO, ::JETCallResult)", "report_opt"] 12.975 μs (5%) 728 bytes (1%) 19

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.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 3988 s 0 s 265 s 10041 s 0 s
 #2 0 MHz 2688 s 0 s 307 s 11294 s 0 s
 #3 0 MHz 4545 s 0 s 287 s 9450 s 0 s
 #4 0 MHz 3639 s 0 s 294 s 10368 s 0 s
 Memory: 15.60690689086914 GB (11671.96484375 MB free)
 Uptime: 1434.88 sec
 Load Avg: 1.1 1.05 0.89
 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
JET Benchmark Result

Judge result

Benchmark Report for /home/runner/work/JET.jl/JET.jl

Job Properties

  • Time of benchmarks:
  • Target: 13 Feb 2024 - 19:46
  • Baseline: 13 Feb 2024 - 19:56
  • Package commits:
  • Target: c1dce6
  • Baseline: 5dd6e1
  • 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 ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). 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}", "identity(nothing)"] 0.85 (5%) ✅ 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.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 2294 s 0 s 160 s 5845 s 0 s
 #2 0 MHz 1626 s 0 s 182 s 6486 s 0 s
 #3 0 MHz 2509 s 0 s 188 s 5586 s 0 s
 #4 0 MHz 2278 s 0 s 171 s 5855 s 0 s
 Memory: 15.60690689086914 GB (11791.19140625 MB free)
 Uptime: 834.1 sec
 Load Avg: 1.0 1.0 0.69
 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 3988 s 0 s 265 s 10041 s 0 s
 #2 0 MHz 2688 s 0 s 307 s 11294 s 0 s
 #3 0 MHz 4545 s 0 s 287 s 9450 s 0 s
 #4 0 MHz 3639 s 0 s 294 s 10368 s 0 s
 Memory: 15.60690689086914 GB (11671.96484375 MB free)
 Uptime: 1434.88 sec
 Load Avg: 1.1 1.05 0.89
 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/JET.jl/JET.jl

Job Properties

  • Time of benchmark: 13 Feb 2024 - 19:46
  • Package commit: c1dce6
  • 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
["First-Time-To-JET", "package loading"] 735.235 ms (5%) 64.82 KiB (1%) 23
["First-Time-To-JET", "rand(Bool)"] 564.739 ms (5%) 65.23 KiB (1%) 23
["First-Time-To-JET", "sum(\"julia\")"] 200.594 ms (5%) 65.23 KiB (1%) 23
["JETAnalyzer{BasicPass} top-level", "demo"] 31.842 ms (5%) 1.99 MiB (1%) 42540
["JETAnalyzer{BasicPass} top-level", "self analysis"] 4.969 s (5%) 1.03 GiB (1%) 22985513
["JETAnalyzer{BasicPass} top-level", "simple"] 7.620 ms (5%) 1.98 MiB (1%) 45977
["JETAnalyzer{BasicPass}", "identity(nothing)"] 68.749 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"] 104.728 ms (5%) 37.57 MiB (1%) 882442
["JETAnalyzer{BasicPass}", "rand(Bool)"] 51.128 ms (5%) 18.33 MiB (1%) 428017
["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"] 132.618 μs (5%) 15.08 KiB (1%) 258
["JETAnalyzer{BasicPass}", "sum(\"julia\")"] 5.183 ms (5%) 1.86 MiB (1%) 43121
["JETAnalyzer{SoundPass}", "identity(nothing)"] 74.229 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"] 123.148 ms (5%) 51.45 MiB (1%) 981150
["JETAnalyzer{SoundPass}", "rand(Bool)"] 55.234 ms (5%) 20.44 MiB (1%) 451020
["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"] 133.339 μs (5%) 17.70 KiB (1%) 291
["JETAnalyzer{SoundPass}", "sum(\"julia\")"] 5.171 ms (5%) 1.91 MiB (1%) 44275
["OptAnalyzer", "identity(nothing)"] 57.478 μs (5%) 6.25 KiB (1%) 135
["OptAnalyzer", "println(QuoteNode(nothing))"] 407.706 ms (5%) 257.98 MiB (1%) 5206820
["OptAnalyzer", "rand(Bool)"] 27.965 ms (5%) 18.14 MiB (1%) 381836
["OptAnalyzer", "sum(\"julia\") (cached)"] 206.175 μs (5%) 63.14 KiB (1%) 1108
["OptAnalyzer", "sum(\"julia\")"] 11.802 ms (5%) 8.05 MiB (1%) 166497
["show(::IO, ::JETCallResult)", "report_call"] 3.653 ms (5%) 1.14 MiB (1%) 9477
["show(::IO, ::JETCallResult)", "report_opt"] 12.574 μs (5%) 728 bytes (1%) 19

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.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 2294 s 0 s 160 s 5845 s 0 s
 #2 0 MHz 1626 s 0 s 182 s 6486 s 0 s
 #3 0 MHz 2509 s 0 s 188 s 5586 s 0 s
 #4 0 MHz 2278 s 0 s 171 s 5855 s 0 s
 Memory: 15.60690689086914 GB (11791.19140625 MB free)
 Uptime: 834.1 sec
 Load Avg: 1.0 1.0 0.69
 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/JET.jl/JET.jl

Job Properties

  • Time of benchmark: 13 Feb 2024 - 19:56
  • Package commit: 5dd6e1
  • 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
["First-Time-To-JET", "package loading"] 738.281 ms (5%) 64.82 KiB (1%) 23
["First-Time-To-JET", "rand(Bool)"] 565.756 ms (5%) 65.23 KiB (1%) 23
["First-Time-To-JET", "sum(\"julia\")"] 199.990 ms (5%) 65.23 KiB (1%) 23
["JETAnalyzer{BasicPass} top-level", "demo"] 31.325 ms (5%) 1.99 MiB (1%) 42540
["JETAnalyzer{BasicPass} top-level", "self analysis"] 4.953 s (5%) 1.03 GiB (1%) 22985513
["JETAnalyzer{BasicPass} top-level", "simple"] 7.589 ms (5%) 1.99 MiB (1%) 45979
["JETAnalyzer{BasicPass}", "identity(nothing)"] 80.791 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{BasicPass}", "println(QuoteNode(nothing))"] 102.448 ms (5%) 37.57 MiB (1%) 882442
["JETAnalyzer{BasicPass}", "rand(Bool)"] 50.597 ms (5%) 18.33 MiB (1%) 428017
["JETAnalyzer{BasicPass}", "sum(\"julia\") (cached)"] 126.376 μs (5%) 15.08 KiB (1%) 258
["JETAnalyzer{BasicPass}", "sum(\"julia\")"] 5.207 ms (5%) 1.86 MiB (1%) 43121
["JETAnalyzer{SoundPass}", "identity(nothing)"] 72.856 μs (5%) 7.58 KiB (1%) 145
["JETAnalyzer{SoundPass}", "println(QuoteNode(nothing))"] 124.365 ms (5%) 51.45 MiB (1%) 981150
["JETAnalyzer{SoundPass}", "rand(Bool)"] 55.115 ms (5%) 20.44 MiB (1%) 451020
["JETAnalyzer{SoundPass}", "sum(\"julia\") (cached)"] 132.688 μs (5%) 17.70 KiB (1%) 291
["JETAnalyzer{SoundPass}", "sum(\"julia\")"] 5.333 ms (5%) 1.90 MiB (1%) 44273
["OptAnalyzer", "identity(nothing)"] 57.207 μs (5%) 6.25 KiB (1%) 135
["OptAnalyzer", "println(QuoteNode(nothing))"] 410.766 ms (5%) 258.23 MiB (1%) 5206822
["OptAnalyzer", "rand(Bool)"] 28.263 ms (5%) 18.14 MiB (1%) 381836
["OptAnalyzer", "sum(\"julia\") (cached)"] 205.193 μs (5%) 63.14 KiB (1%) 1108
["OptAnalyzer", "sum(\"julia\")"] 12.029 ms (5%) 8.06 MiB (1%) 166499
["show(::IO, ::JETCallResult)", "report_call"] 3.679 ms (5%) 1.14 MiB (1%) 9477
["show(::IO, ::JETCallResult)", "report_opt"] 12.975 μs (5%) 728 bytes (1%) 19

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.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 3988 s 0 s 265 s 10041 s 0 s
 #2 0 MHz 2688 s 0 s 307 s 11294 s 0 s
 #3 0 MHz 4545 s 0 s 287 s 9450 s 0 s
 #4 0 MHz 3639 s 0 s 294 s 10368 s 0 s
 Memory: 15.60690689086914 GB (11671.96484375 MB free)
 Uptime: 1434.88 sec
 Load Avg: 1.1 1.05 0.89
 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

@@ -150,6 +150,10 @@ end
# global
# ------

@static if VERSION ≥ v"1.11.0-DEV.1552"
CC.cache_owner(analyzer::AbstractAnalyzer) = AnalysisCache(analyzer)

Choose a reason for hiding this comment

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

I am still not sure if AnalysisCache is the right object here. What needs to be captured is information that changes inference behaviour. See https://github.com/JuliaGPU/GPUCompiler.jl/blob/8d7d9836447c067973a2c90aa4b274a09e7b2b20/src/interface.jl#L223 as an alternative idea.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Actually, AnalysisCache(analyzer) is unique, kind of like how GPUCompilerCacheToken is. The reason is each analyzer computes unique hash based on analysis settings, creating different AnalysisCache objects for different settings:

analysis_cache = get!(AnalysisCache, JET_ANALYZER_CACHE, cache_key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants