Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

improve document #54

Merged
merged 15 commits into from
Sep 21, 2023
Merged

improve document #54

merged 15 commits into from
Sep 21, 2023

Conversation

abap34
Copy link
Owner

@abap34 abap34 commented Sep 16, 2023

No description provided.

@github-actions
Copy link
Contributor

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 16 Sep 2023 - 18:37
    • Baseline: 16 Sep 2023 - 18:38
  • Package commits:
    • Target: 989cc0
    • Baseline: 94228c
  • Julia commits:
    • Target: 17cfb8
    • Baseline: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 0.95 (5%) ✅ 1.00 (1%)
["AutoDiff", "scalar_create", "Float"] 1.09 (5%) ❌ 1.00 (1%)
["AutoDiff", "scalar_create", "Int"] 1.15 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "sin"] 0.92 (5%) ✅ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Target

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       1999 s          0 s        270 s       2073 s          0 s
       #2  2593 MHz       3005 s          0 s        306 s       1032 s          0 s
  Memory: 6.759757995605469 GB (4892.74609375 MB free)
  Uptime: 439.79 sec
  Load Avg:  1.29  1.34  0.66
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2713 s          0 s        340 s       2205 s          0 s
       #2  2593 MHz       3147 s          0 s        337 s       1774 s          0 s
  Memory: 6.759757995605469 GB (5068.25 MB free)
  Uptime: 531.61 sec
  Load Avg:  1.06  1.24  0.7
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Target result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 18:37
  • Package commit: 989cc0
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 8.800 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 8.300 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 751.160 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.370 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 8.200 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 8.400 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 26.005 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 28.945 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 26.105 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 26.506 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 24.072 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 29.548 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 25.603 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 24.198 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 27.639 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 24.198 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 24.298 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 25.704 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 52.334 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       1999 s          0 s        270 s       2073 s          0 s
       #2  2593 MHz       3005 s          0 s        306 s       1032 s          0 s
  Memory: 6.759757995605469 GB (4892.74609375 MB free)
  Uptime: 439.79 sec
  Load Avg:  1.29  1.34  0.66
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 18:38
  • Package commit: 94228c
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 9.301 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 8.600 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 742.763 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.340 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 7.500 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 7.300 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 26.606 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 29.447 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 26.808 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 27.812 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 24.174 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 30.452 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 26.506 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 24.498 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 29.951 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 24.498 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 24.598 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 26.105 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 52.739 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2713 s          0 s        340 s       2205 s          0 s
       #2  2593 MHz       3147 s          0 s        337 s       1774 s          0 s
  Memory: 6.759757995605469 GB (5068.25 MB free)
  Uptime: 531.61 sec
  Load Avg:  1.06  1.24  0.7
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             2
On-line CPU(s) list:                0,1
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
CPU family:                         6
Model:                              85
Thread(s) per core:                 1
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           7
BogoMIPS:                           5187.81
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           2 MiB (2 instances)
L3 cache:                           35.8 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0,1
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Vulnerable
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:      Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Vendor :Intel
Architecture :Skylake
Model Family: 0x06, Model: 0x55, Stepping: 0x07, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 1024, 36608) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@github-actions
Copy link
Contributor

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 16 Sep 2023 - 18:46
    • Baseline: 16 Sep 2023 - 18:47
  • Package commits:
    • Target: 61377f
    • Baseline: 94228c
  • Julia commits:
    • Target: 17cfb8
    • Baseline: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 0.91 (5%) ✅ 1.00 (1%)
["AutoDiff", "Tensor_create", "Int"] 0.86 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "neg"] 1.05 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "sin"] 1.11 (5%) ❌ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Target

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2038 s          0 s        261 s       1926 s          0 s
       #2  2593 MHz       2856 s          0 s        283 s       1080 s          0 s
  Memory: 6.759757995605469 GB (4903.69921875 MB free)
  Uptime: 428.12 sec
  Load Avg:  1.29  1.36  0.68
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2100 s          0 s        288 s       2719 s          0 s
       #2  2593 MHz       3622 s          0 s        353 s       1130 s          0 s
  Memory: 6.759757995605469 GB (5111.68359375 MB free)
  Uptime: 516.72 sec
  Load Avg:  1.09  1.27  0.72
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Target result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 18:46
  • Package commit: 61377f
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 8.400 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 8.200 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 746.965 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.340 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 8.100 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 8.000 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 25.602 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 29.347 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 25.703 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 25.904 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 23.771 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 29.849 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 25.803 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 25.202 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 30.653 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 23.872 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 23.771 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 25.803 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 52.435 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2038 s          0 s        261 s       1926 s          0 s
       #2  2593 MHz       2856 s          0 s        283 s       1080 s          0 s
  Memory: 6.759757995605469 GB (4903.69921875 MB free)
  Uptime: 428.12 sec
  Load Avg:  1.29  1.36  0.68
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 18:47
  • Package commit: 94228c
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 9.200 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 9.500 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 746.096 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.360 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 7.800 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 8.400 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 26.005 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 29.347 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 26.004 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 26.305 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 24.173 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 30.151 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 25.904 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 23.896 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 27.740 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 24.173 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 23.872 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 26.104 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 52.638 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2593 MHz       2100 s          0 s        288 s       2719 s          0 s
       #2  2593 MHz       3622 s          0 s        353 s       1130 s          0 s
  Memory: 6.759757995605469 GB (5111.68359375 MB free)
  Uptime: 516.72 sec
  Load Avg:  1.09  1.27  0.72
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             2
On-line CPU(s) list:                0,1
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
CPU family:                         6
Model:                              85
Thread(s) per core:                 1
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           7
BogoMIPS:                           5187.81
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           2 MiB (2 instances)
L3 cache:                           35.8 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0,1
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Vulnerable
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:      Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Vendor :Intel
Architecture :Skylake
Model Family: 0x06, Model: 0x55, Stepping: 0x07, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 1024, 36608) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@github-actions
Copy link
Contributor

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 16 Sep 2023 - 19:34
    • Baseline: 16 Sep 2023 - 19:36
  • Package commits:
    • Target: d69d8c
    • Baseline: 94228c
  • Julia commits:
    • Target: 17cfb8
    • Baseline: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Int"] 1.05 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "inv"] 1.06 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "mul"] 1.05 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "tan"] 1.08 (5%) ❌ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Target

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       3358 s          0 s        337 s        776 s          0 s
       #2  2095 MHz       2419 s          0 s        316 s       1688 s          0 s
  Memory: 6.759757995605469 GB (4868.109375 MB free)
  Uptime: 452.59 sec
  Load Avg:  1.28  1.48  0.78
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       4211 s          0 s        420 s        866 s          0 s
       #2  2095 MHz       2519 s          0 s        352 s       2573 s          0 s
  Memory: 6.759757995605469 GB (5104.21484375 MB free)
  Uptime: 555.37 sec
  Load Avg:  1.24  1.4  0.83
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Target result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 19:34
  • Package commit: d69d8c
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 9.710 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 10.310 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 811.683 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.530 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 9.409 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 9.309 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 31.055 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 31.992 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 28.945 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 32.161 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 28.543 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 36.052 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 30.955 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 27.035 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 34.743 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 27.538 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 27.035 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 29.247 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 62.997 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       3358 s          0 s        337 s        776 s          0 s
       #2  2095 MHz       2419 s          0 s        316 s       1688 s          0 s
  Memory: 6.759757995605469 GB (4868.109375 MB free)
  Uptime: 452.59 sec
  Load Avg:  1.28  1.48  0.78
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Baseline result

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

Job Properties

  • Time of benchmark: 16 Sep 2023 - 19:36
  • Package commit: 94228c
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 9.409 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 9.810 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 848.350 ns (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.580 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 9.309 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 9.410 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 29.950 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 33.502 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 28.945 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 31.357 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 26.936 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 35.247 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 29.347 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 26.735 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 34.743 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 28.644 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 26.533 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 30.754 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 58.308 ns (5%) 112 bytes (1%) 3

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1011-azure #11~22.04.1-Ubuntu SMP Wed Aug 23 19:26:19 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       4211 s          0 s        420 s        866 s          0 s
       #2  2095 MHz       2519 s          0 s        352 s       2573 s          0 s
  Memory: 6.759757995605469 GB (5104.21484375 MB free)
  Uptime: 555.37 sec
  Load Avg:  1.24  1.4  0.83
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             2
On-line CPU(s) list:                0,1
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
CPU family:                         6
Model:                              85
Thread(s) per core:                 1
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           4
BogoMIPS:                           4190.15
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           2 MiB (2 instances)
L3 cache:                           35.8 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0,1
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Vulnerable
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:      Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
Vendor :Intel
Architecture :Skylake
Model Family: 0x06, Model: 0x55, Stepping: 0x04, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 1024, 36608) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Patch coverage: 47.22% and project coverage change: +0.12% 🎉

Comparison is base (ce950bd) 27.84% compared to head (2d46e34) 27.96%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   27.84%   27.96%   +0.12%     
==========================================
  Files          40       40              
  Lines        1167     1187      +20     
==========================================
+ Hits          325      332       +7     
- Misses        842      855      +13     
Files Changed Coverage Δ
src/JITrench.jl 100.00% <ø> (ø)
src/core/autodiff/autodiff.jl 100.00% <ø> (ø)
src/core/autodiff/device.jl 5.00% <0.00%> (-4.10%) ⬇️
src/core/autodiff/variable.jl 7.14% <ø> (ø)
src/core/functions.jl 50.96% <ø> (ø)
src/utils/error.jl 11.11% <ø> (-11.12%) ⬇️
src/core/autodiff/function.jl 44.82% <50.00%> (+16.25%) ⬆️
src/core/autodiff/function_utils.jl 7.14% <50.00%> (+7.14%) ⬆️
src/core/autodiff/propagation.jl 53.11% <54.92%> (+0.40%) ⬆️

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

@abap34 abap34 marked this pull request as ready for review September 21, 2023 10:22
@abap34 abap34 merged commit f0425ce into master Sep 21, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant