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 HDF5 tests #58

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Add HDF5 tests #58

merged 1 commit into from
Sep 27, 2024

Conversation

henry2004y
Copy link
Owner

@henry2004y henry2004y commented Sep 27, 2024

  • Handle both Float32 and Float64 HDF5 outputs
  • Add single and double precision output tests (with updated link to the test data)
  • Display variable names from show

Copy link

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 27 Sep 2024 - 02:13
    • Baseline: 27 Sep 2024 - 02:14
  • Package commits:
    • Target: f15018
    • Baseline: bf5d77
  • Julia commits:
    • Target: 6f3fdf
    • Baseline: 6f3fdf
  • 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
["read", "Binary unstructured"] 1.06 (5%) ❌ 1.00 (1%)

Benchmark Group List

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

  • ["read"]

Julia versioninfo

Target

Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.5 LTS
  uname: Linux 6.8.0-1014-azure #16~22.04.1-Ubuntu SMP Thu Aug 15 21:31:41 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2787 MHz        653 s          0 s        123 s       1905 s          0 s
       #2  3159 MHz        887 s          0 s        120 s       1668 s          0 s
       #3  3244 MHz        654 s          0 s        117 s       1919 s          0 s
       #4  2445 MHz        789 s          0 s        100 s       1793 s          0 s
  Memory: 15.615272521972656 GB (12594.56640625 MB free)
  Uptime: 271.07 sec
  Load Avg:  2.09  1.05  0.42
  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.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.5 LTS
  uname: Linux 6.8.0-1014-azure #16~22.04.1-Ubuntu SMP Thu Aug 15 21:31:41 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3247 MHz        833 s          0 s        167 s       2159 s          0 s
       #2  3241 MHz        949 s          0 s        131 s       2073 s          0 s
       #3  3243 MHz        712 s          0 s        140 s       2315 s          0 s
       #4  3247 MHz        894 s          0 s        123 s       2143 s          0 s
  Memory: 15.615272521972656 GB (13164.4765625 MB free)
  Uptime: 318.92 sec
  Load Avg:  1.51  1.05  0.45
  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/Batsrus.jl/Batsrus.jl

Job Properties

  • Time of benchmark: 27 Sep 2024 - 2:13
  • Package commit: f15018
  • Julia commit: 6f3fdf
  • 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
["read", "ASCII"] 803.036 μs (5%) 473.71 KiB (1%) 1354
["read", "Binary structured"] 45.686 μs (5%) 71.80 KiB (1%) 59
["read", "Binary unstructured"] 318.617 μs (5%) 215.38 KiB (1%) 649

Benchmark Group List

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

  • ["read"]

Julia versioninfo

Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.5 LTS
  uname: Linux 6.8.0-1014-azure #16~22.04.1-Ubuntu SMP Thu Aug 15 21:31:41 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2787 MHz        653 s          0 s        123 s       1905 s          0 s
       #2  3159 MHz        887 s          0 s        120 s       1668 s          0 s
       #3  3244 MHz        654 s          0 s        117 s       1919 s          0 s
       #4  2445 MHz        789 s          0 s        100 s       1793 s          0 s
  Memory: 15.615272521972656 GB (12594.56640625 MB free)
  Uptime: 271.07 sec
  Load Avg:  2.09  1.05  0.42
  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/Batsrus.jl/Batsrus.jl

Job Properties

  • Time of benchmark: 27 Sep 2024 - 2:14
  • Package commit: bf5d77
  • Julia commit: 6f3fdf
  • 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
["read", "ASCII"] 804.298 μs (5%) 473.71 KiB (1%) 1354
["read", "Binary structured"] 46.087 μs (5%) 71.80 KiB (1%) 59
["read", "Binary unstructured"] 299.752 μs (5%) 215.38 KiB (1%) 649

Benchmark Group List

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

  • ["read"]

Julia versioninfo

Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.5 LTS
  uname: Linux 6.8.0-1014-azure #16~22.04.1-Ubuntu SMP Thu Aug 15 21:31:41 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3247 MHz        833 s          0 s        167 s       2159 s          0 s
       #2  3241 MHz        949 s          0 s        131 s       2073 s          0 s
       #3  3243 MHz        712 s          0 s        140 s       2315 s          0 s
       #4  3247 MHz        894 s          0 s        123 s       2143 s          0 s
  Memory: 15.615272521972656 GB (13164.4765625 MB free)
  Uptime: 318.92 sec
  Load Avg:  1.51  1.05  0.45
  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 vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves user_shstk 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 Reg file data sampling: 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

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 28.57143% with 10 lines in your changes missing coverage. Please review.

Project coverage is 69.84%. Comparing base (bf5d77e) to head (a9a1831).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/hdf.jl 28.57% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   66.46%   69.84%   +3.38%     
==========================================
  Files          12       12              
  Lines        2460     2464       +4     
==========================================
+ Hits         1635     1721      +86     
+ Misses        825      743      -82     

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

@henry2004y henry2004y merged commit d81266c into master Sep 27, 2024
6 of 7 checks passed
@henry2004y henry2004y deleted the hdf_test branch September 27, 2024 02:38
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.

1 participant