henry2004y / Vlasiator.jl

Data processor for Vlasiator
https://henry2004y.github.io/Vlasiator.jl/stable/
MIT License
6 stars 4 forks source link

Add KL-divergence #133

Closed henry2004y closed 1 year ago

henry2004y commented 1 year ago

Implement #132

codecov[bot] commented 1 year ago

Codecov Report

Merging #133 (f254526) into master (e44af63) will increase coverage by 0.19%. The diff coverage is 98.18%.

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   89.38%   89.58%   +0.19%     
==========================================
  Files          12       12              
  Lines        2318     2371      +53     
==========================================
+ Hits         2072     2124      +52     
- Misses        246      247       +1     
Impacted Files Coverage Δ
src/Vlasiator.jl 100.00% <ø> (ø)
src/vlsv/vlsvutility.jl 95.64% <98.18%> (+0.16%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 1 year ago
Benchmark result # Judge result # Benchmark Report for */home/runner/work/Vlasiator.jl/Vlasiator.jl* ## Job Properties * Time of benchmarks: - Target: 24 Jan 2023 - 18:08 - Baseline: 24 Jan 2023 - 18:10 * Package commits: - Target: 643170 - Baseline: 69c0f3 * 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 :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 | |----------------------------------|------------------------------|--------------| | `["read", "DCCRG_derived"]` | 1.08 (5%) :x: | 1.00 (1%) | | `["read", "DCCRG_scalar"]` | 0.91 (5%) :white_check_mark: | 1.00 (1%) | | `["read", "DCCRG_select_small"]` | 0.94 (5%) :white_check_mark: | 1.00 (1%) | | `["read", "DCCRG_vector"]` | 1.08 (5%) :x: | 1.00 (1%) | | `["read", "FG"]` | 1.23 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["VTK"]` - `["read"]` ## 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.1 LTS uname: Linux 5.15.0-1031-azure #38-Ubuntu SMP Mon Jan 9 12:49:59 UTC 2023 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: speed user nice sys idle irq #1 2394 MHz 1346 s 0 s 254 s 1735 s 0 s #2 2394 MHz 1203 s 0 s 267 s 1837 s 0 s Memory: 6.781215667724609 GB (5290.16796875 MB free) Uptime: 339.38 sec Load Avg: 1.31 0.94 0.45 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, haswell) 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.1 LTS uname: Linux 5.15.0-1031-azure #38-Ubuntu SMP Mon Jan 9 12:49:59 UTC 2023 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: speed user nice sys idle irq #1 2394 MHz 1973 s 0 s 388 s 2132 s 0 s #2 2394 MHz 1564 s 0 s 315 s 2585 s 0 s Memory: 6.781215667724609 GB (5244.24609375 MB free) Uptime: 455.41 sec Load Avg: 1.04 0.97 0.52 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, haswell) Threads: 1 on 2 virtual cores ``` --- # Target result # Benchmark Report for */home/runner/work/Vlasiator.jl/Vlasiator.jl* ## Job Properties * Time of benchmark: 24 Jan 2023 - 18:8 * Package commit: 643170 * 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 | |----------------------------------|----------------:|--------:|----------------:|------------:| | `["VTK", "AMR_full"]` | 575.003 μs (5%) | | 641.60 KiB (1%) | 265 | | `["VTK", "AMR_maxonly"]` | 494.603 μs (5%) | | 603.51 KiB (1%) | 233 | | `["read", "DCCRG_derived"]` | 455.500 μs (5%) | | 913.77 KiB (1%) | 80 | | `["read", "DCCRG_scalar"]` | 27.300 μs (5%) | | 123.65 KiB (1%) | 22 | | `["read", "DCCRG_select_large"]` | 65.701 μs (5%) | | 39.41 KiB (1%) | 23 | | `["read", "DCCRG_select_small"]` | 8.375 μs (5%) | | 744 bytes (1%) | 21 | | `["read", "DCCRG_vector"]` | 76.100 μs (5%) | | 369.82 KiB (1%) | 24 | | `["read", "FG"]` | 151.600 μs (5%) | | 231.94 KiB (1%) | 175 | | `["read", "VDF"]` | 166.701 μs (5%) | | 505.34 KiB (1%) | 27 | | `["read", "meta"]` | 812.803 μs (5%) | | 376.39 KiB (1%) | 361 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["VTK"]` - `["read"]` ## 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.1 LTS uname: Linux 5.15.0-1031-azure #38-Ubuntu SMP Mon Jan 9 12:49:59 UTC 2023 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: speed user nice sys idle irq #1 2394 MHz 1346 s 0 s 254 s 1735 s 0 s #2 2394 MHz 1203 s 0 s 267 s 1837 s 0 s Memory: 6.781215667724609 GB (5290.16796875 MB free) Uptime: 339.38 sec Load Avg: 1.31 0.94 0.45 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, haswell) Threads: 1 on 2 virtual cores ``` --- # Baseline result # Benchmark Report for */home/runner/work/Vlasiator.jl/Vlasiator.jl* ## Job Properties * Time of benchmark: 24 Jan 2023 - 18:10 * Package commit: 69c0f3 * 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 | |----------------------------------|----------------:|--------:|----------------:|------------:| | `["VTK", "AMR_full"]` | 564.002 μs (5%) | | 641.60 KiB (1%) | 265 | | `["VTK", "AMR_maxonly"]` | 494.403 μs (5%) | | 603.51 KiB (1%) | 233 | | `["read", "DCCRG_derived"]` | 423.203 μs (5%) | | 913.77 KiB (1%) | 80 | | `["read", "DCCRG_scalar"]` | 30.100 μs (5%) | | 123.65 KiB (1%) | 22 | | `["read", "DCCRG_select_large"]` | 67.800 μs (5%) | | 39.41 KiB (1%) | 23 | | `["read", "DCCRG_select_small"]` | 8.867 μs (5%) | | 744 bytes (1%) | 21 | | `["read", "DCCRG_vector"]` | 70.500 μs (5%) | | 369.82 KiB (1%) | 24 | | `["read", "FG"]` | 123.201 μs (5%) | | 231.94 KiB (1%) | 175 | | `["read", "VDF"]` | 162.200 μs (5%) | | 505.34 KiB (1%) | 27 | | `["read", "meta"]` | 811.204 μs (5%) | | 376.39 KiB (1%) | 361 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["VTK"]` - `["read"]` ## 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.1 LTS uname: Linux 5.15.0-1031-azure #38-Ubuntu SMP Mon Jan 9 12:49:59 UTC 2023 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: speed user nice sys idle irq #1 2394 MHz 1973 s 0 s 388 s 2132 s 0 s #2 2394 MHz 1564 s 0 s 315 s 2585 s 0 s Memory: 6.781215667724609 GB (5244.24609375 MB free) Uptime: 455.41 sec Load Avg: 1.04 0.97 0.52 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, haswell) 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) CPU E5-2673 v3 @ 2.40GHz CPU family: 6 Model: 63 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Stepping: 2 BogoMIPS: 4788.90 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 invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt md_clear Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 512 KiB (2 instances) L3 cache: 30 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0,1 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: Not affected 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 | Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz | | Vendor | :Intel | | Architecture | :Haswell | | Model | Family: 0x06, Model: 0x3f, Stepping: 0x02, 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, 256, 30720) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 46 bits physical | | SIMD | 256 bit = 32 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 |
henry2004y commented 1 year ago

Benchmarks show up to 10% fluctuations which has nothing to do with the changes here. Somehow we switch back to the symbolic link solution for running the benchmarks with Artifact.