bcube-project / Bcube.jl

MIT License
4 stars 2 forks source link

Materialize `MeshCellData` on face / Side #94

Closed bmxam closed 4 months ago

bmxam commented 4 months ago

closes #87

github-actions[bot] commented 4 months ago
Benchmark result # Judge result # Benchmark Report for */home/runner/work/Bcube.jl/Bcube.jl* ## Job Properties * Time of benchmarks: - Target: 13 May 2024 - 14:30 - Baseline: 13 May 2024 - 14:34 * Package commits: - Target: 949695 - Baseline: 67f5fe * Julia commits: - Target: 0b4590 - Baseline: 0b4590 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |------------------------------------------------------|------------------------------|--------------| | `["assemble", "poisson DG", "l_Γb(v)"]` | 0.88 (5%) :white_check_mark: | 1.00 (1%) | | `["assemble", "poisson DG", "l_Ω(v)"]` | 1.14 (5%) :x: | 1.00 (1%) | | `["covo", "TriQuad", "explicit_step"]` | 0.92 (5%) :white_check_mark: | 1.00 (1%) | | `["covo", "TriQuad", "integral_volume"]` | 0.94 (5%) :white_check_mark: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["assemble", "basic bilinear"]` - `["assemble", "poisson DG"]` - `["covo", "Quad"]` - `["covo", "TriQuad"]` - `["entities"]` - `["mesh"]` ## Julia versioninfo ### Target ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 2029 s 0 s 237 s 4626 s 0 s #2 2445 MHz 1924 s 0 s 231 s 4735 s 0 s #3 3243 MHz 2194 s 0 s 200 s 4495 s 0 s #4 3244 MHz 1533 s 0 s 222 s 5120 s 0 s Memory: 15.606494903564453 GB (12406.359375 MB free) Uptime: 693.01 sec Load Avg: 1.06 1.21 0.75 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, znver3) Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores) ``` ### Baseline ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 3266 MHz 2686 s 0 s 279 s 5894 s 0 s #2 3243 MHz 2538 s 0 s 286 s 6034 s 0 s #3 2445 MHz 2493 s 0 s 243 s 6119 s 0 s #4 2445 MHz 1842 s 0 s 257 s 6743 s 0 s Memory: 15.606494903564453 GB (12332.7421875 MB free) Uptime: 890.01 sec Load Avg: 1.11 1.14 0.82 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/Bcube.jl/Bcube.jl* ## Job Properties * Time of benchmark: 13 May 2024 - 14:30 * Package commit: 949695 * Julia commit: 0b4590 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |------------------------------------------------------|----------------:|----------:|----------------:|------------:| | `["assemble", "basic bilinear", "mass matrix"]` | 16.352 ms (5%) | | 13.82 MiB (1%) | 117 | | `["assemble", "basic bilinear", "stiffness matrix"]` | 83.036 ms (5%) | | 13.82 MiB (1%) | 117 | | `["assemble", "poisson DG", "AffineFESystem"]` | 52.610 ms (5%) | | 71.70 MiB (1%) | 17213 | | `["assemble", "poisson DG", "a_Γ(u, v)"]` | 37.183 ms (5%) | | 59.36 MiB (1%) | 13105 | | `["assemble", "poisson DG", "a_Γb(u, v)"]` | 7.381 ms (5%) | | 10.83 MiB (1%) | 3203 | | `["assemble", "poisson DG", "a_Ω(u, v)"]` | 8.004 ms (5%) | | 349.81 KiB (1%) | 69 | | `["assemble", "poisson DG", "l_Γb(v)"]` | 69.871 μs (5%) | | 159.66 KiB (1%) | 949 | | `["assemble", "poisson DG", "l_Ω(v)"]` | 20.749 μs (5%) | | 22.61 KiB (1%) | 21 | | `["covo", "Quad", "explicit_step"]` | 100.476 ms (5%) | | 69.43 MiB (1%) | 5263 | | `["covo", "Quad", "integral_surface"]` | 50.616 ms (5%) | | | | | `["covo", "Quad", "integral_volume"]` | 20.356 ms (5%) | | | | | `["covo", "TriQuad", "explicit_step"]` | 387.102 ms (5%) | 22.408 ms | 382.36 MiB (1%) | 1813713 | | `["covo", "TriQuad", "integral_surface"]` | 278.166 ms (5%) | | 227.64 MiB (1%) | 1424064 | | `["covo", "TriQuad", "integral_volume"]` | 59.175 ms (5%) | | 48.39 MiB (1%) | 379526 | | `["entities", "edges2nodes"]` | 1.552 ns (5%) | | | | | `["entities", "nedges"]` | 1.552 ns (5%) | | | | | `["entities", "nnodes"]` | 2.785 ns (5%) | | | | | `["entities", "nodes"]` | 1.552 ns (5%) | | | | | `["mesh", "todo"]` | 1.552 ns (5%) | | | | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["assemble", "basic bilinear"]` - `["assemble", "poisson DG"]` - `["covo", "Quad"]` - `["covo", "TriQuad"]` - `["entities"]` - `["mesh"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 2445 MHz 2029 s 0 s 237 s 4626 s 0 s #2 2445 MHz 1924 s 0 s 231 s 4735 s 0 s #3 3243 MHz 2194 s 0 s 200 s 4495 s 0 s #4 3244 MHz 1533 s 0 s 222 s 5120 s 0 s Memory: 15.606494903564453 GB (12406.359375 MB free) Uptime: 693.01 sec Load Avg: 1.06 1.21 0.75 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/Bcube.jl/Bcube.jl* ## Job Properties * Time of benchmark: 13 May 2024 - 14:34 * Package commit: 67f5fe * Julia commit: 0b4590 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |------------------------------------------------------|----------------:|----------:|----------------:|------------:| | `["assemble", "basic bilinear", "mass matrix"]` | 16.195 ms (5%) | | 13.82 MiB (1%) | 117 | | `["assemble", "basic bilinear", "stiffness matrix"]` | 79.292 ms (5%) | | 13.82 MiB (1%) | 117 | | `["assemble", "poisson DG", "AffineFESystem"]` | 53.886 ms (5%) | | 71.70 MiB (1%) | 17213 | | `["assemble", "poisson DG", "a_Γ(u, v)"]` | 37.870 ms (5%) | | 59.36 MiB (1%) | 13105 | | `["assemble", "poisson DG", "a_Γb(u, v)"]` | 7.362 ms (5%) | | 10.83 MiB (1%) | 3203 | | `["assemble", "poisson DG", "a_Ω(u, v)"]` | 7.982 ms (5%) | | 349.81 KiB (1%) | 69 | | `["assemble", "poisson DG", "l_Γb(v)"]` | 79.509 μs (5%) | | 159.66 KiB (1%) | 949 | | `["assemble", "poisson DG", "l_Ω(v)"]` | 18.163 μs (5%) | | 22.61 KiB (1%) | 21 | | `["covo", "Quad", "explicit_step"]` | 102.191 ms (5%) | | 69.43 MiB (1%) | 5263 | | `["covo", "Quad", "integral_surface"]` | 51.642 ms (5%) | | | | | `["covo", "Quad", "integral_volume"]` | 20.276 ms (5%) | | | | | `["covo", "TriQuad", "explicit_step"]` | 419.562 ms (5%) | 20.168 ms | 382.36 MiB (1%) | 1813713 | | `["covo", "TriQuad", "integral_surface"]` | 287.717 ms (5%) | | 227.64 MiB (1%) | 1424064 | | `["covo", "TriQuad", "integral_volume"]` | 62.869 ms (5%) | | 48.39 MiB (1%) | 379526 | | `["entities", "edges2nodes"]` | 1.552 ns (5%) | | | | | `["entities", "nedges"]` | 1.552 ns (5%) | | | | | `["entities", "nnodes"]` | 2.785 ns (5%) | | | | | `["entities", "nodes"]` | 1.552 ns (5%) | | | | | `["mesh", "todo"]` | 1.552 ns (5%) | | | | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["assemble", "basic bilinear"]` - `["assemble", "poisson DG"]` - `["covo", "Quad"]` - `["covo", "TriQuad"]` - `["entities"]` - `["mesh"]` ## Julia versioninfo ``` Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) Ubuntu 22.04.4 LTS uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64 CPU: AMD EPYC 7763 64-Core Processor: speed user nice sys idle irq #1 3266 MHz 2686 s 0 s 279 s 5894 s 0 s #2 3243 MHz 2538 s 0 s 286 s 6034 s 0 s #3 2445 MHz 2493 s 0 s 243 s 6119 s 0 s #4 2445 MHz 1842 s 0 s 257 s 6743 s 0 s Memory: 15.606494903564453 GB (12332.7421875 MB free) Uptime: 890.01 sec Load Avg: 1.11 1.14 0.82 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.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: 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 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 |
github-actions[bot] commented 4 months ago

Benchmark Results

main b051d6842d1c13... main/b051d6842d1c13...
assemble/basic bilinear/mass matrix 16.7 ± 0.28 ms 16.7 ± 0.19 ms 0.999
assemble/basic bilinear/stiffness matrix 0.0827 ± 0.00057 s 0.0811 ± 0.00025 s 1.02
assemble/poisson DG/AffineFESystem 0.0549 ± 0.0077 s 0.0545 ± 0.007 s 1.01
assemble/poisson DG/a_Γ(u, v) 0.0383 ± 0.0063 s 0.0384 ± 0.0069 s 0.997
assemble/poisson DG/a_Γb(u, v) 7.48 ± 0.14 ms 7.53 ± 0.2 ms 0.993
assemble/poisson DG/a_Ω(u, v) 7.78 ± 0.027 ms 7.78 ± 0.021 ms 0.999
assemble/poisson DG/l_Γb(v) 0.127 ± 0.055 ms 0.127 ± 0.054 ms 0.995
assemble/poisson DG/l_Ω(v) 20.9 ± 2.6 μs 21 ± 2.6 μs 0.997
covo/Quad/explicit_step 0.102 ± 0.0012 s 0.103 ± 0.0011 s 0.988
covo/Quad/integral_surface 0.0524 ± 0.00038 s 0.0521 ± 0.00032 s 1.01
covo/Quad/integral_volume 20.4 ± 0.12 ms 20 ± 0.087 ms 1.02
covo/TriQuad/explicit_step 0.433 ± 0.023 s 0.435 ± 0.021 s 0.996
covo/TriQuad/integral_surface 0.309 ± 0.0047 s 0.311 ± 0.0037 s 0.993
covo/TriQuad/integral_volume 0.0769 ± 0.0044 s 0.0781 ± 0.0045 s 0.985
entities/edges2nodes 1.56 ± 0.01 ns 1.55 ± 0.01 ns 1.01
entities/nedges 1.55 ± 0.01 ns 1.55 ± 0.01 ns 1
entities/nnodes 3.11 ± 0.01 ns 3.11 ± 0.001 ns 1
entities/nodes 1.56 ± 0.01 ns 1.56 ± 0.01 ns 1
mesh/todo 1.56 ± 0.01 ns 1.56 ± 0.01 ns 0.999
time_to_load 3.25 ± 0.015 s 3.29 ± 0.021 s 0.989

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).