JuliaFolds / BangBang.jl

Immutables as mutables, mutables as immutables.
MIT License
108 stars 11 forks source link

Rename Experimental to Extras #160

Closed tkf closed 4 years ago

codecov-commenter commented 4 years ago

Codecov Report

Merging #160 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #160   +/-   ##
=======================================
  Coverage   92.09%   92.09%           
=======================================
  Files          22       22           
  Lines         481      481           
=======================================
  Hits          443      443           
  Misses         38       38           
Impacted Files Coverage Δ
src/BangBang.jl 100.00% <ø> (ø)
src/extras.jl 100.00% <ø> (ø)
src/base.jl 85.84% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b542d40...77ae839. Read the comment docs.

github-actions[bot] commented 4 years ago
Benchmark result # Judge result # Benchmark Report for */home/runner/work/BangBang.jl/BangBang.jl* ## Job Properties * Time of benchmarks: - Target: 30 May 2020 - 23:57 - Baseline: 30 May 2020 - 23:59 * Package commits: - Target: 2f08b8 - Baseline: b542d4 * Julia commits: - Target: 44fa15 - Baseline: 44fa15 * 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 | |------------------------------------------------------------------------------------------|------------------------------|--------------| | `["append", "append!!(::SVector, ::SingletonVector)"]` | 0.82 (5%) :white_check_mark: | 1.00 (1%) | | `["collectors", ":comp => \"filter\"", ":impl => \"nonexpanding\""]` | 0.94 (5%) :white_check_mark: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 0.95 (5%) :white_check_mark: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 1.14 (5%) :x: | 1.00 (1%) | | `["dataframes", "Categorical"]` | 0.86 (5%) :white_check_mark: | 1.00 (1%) | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :empty"]` | 0.94 (5%) :white_check_mark: | 1.00 (1%) | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :empty"]` | 1.12 (5%) :x: | 1.00 (1%) | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :equal"]` | 0.95 (5%) :white_check_mark: | 1.00 (1%) | | `["mergewith", ":combine => :right", ":desttype => :widen", ":destkeys => :empty"]` | 1.08 (5%) :x: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["append"]` - `["collectors", ":comp => \"filter\""]` - `["collectors", ":comp => \"map\""]` - `["dataframes"]` - `["mergewith", ":combine => :+", ":desttype => :compatible"]` - `["mergewith", ":combine => :+", ":desttype => :widen"]` - `["mergewith", ":combine => :right", ":desttype => :compatible"]` - `["mergewith", ":combine => :right", ":desttype => :widen"]` ## Julia versioninfo ### Target ``` Julia Version 1.4.2 Commit 44fa15b150* (2020-05-23 18:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.3.0-1020-azure #21~18.04.1-Ubuntu SMP Wed Apr 15 09:35:56 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 25727 s 0 s 1766 s 39165 s 0 s #2 2294 MHz 8244 s 0 s 1399 s 56679 s 0 s Memory: 6.764888763427734 GB (3442.81640625 MB free) Uptime: 680.0 sec Load Avg: 1.02197265625 0.77392578125 0.39453125 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, broadwell) ``` ### Baseline ``` Julia Version 1.4.2 Commit 44fa15b150* (2020-05-23 18:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.3.0-1020-azure #21~18.04.1-Ubuntu SMP Wed Apr 15 09:35:56 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 31068 s 0 s 1852 s 44364 s 0 s #2 2294 MHz 13483 s 0 s 1506 s 61956 s 0 s Memory: 6.764888763427734 GB (3417.89453125 MB free) Uptime: 787.0 sec Load Avg: 1.12646484375 0.8798828125 0.478515625 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, broadwell) ``` --- # Target result # Benchmark Report for */home/runner/work/BangBang.jl/BangBang.jl* ## Job Properties * Time of benchmark: 30 May 2020 - 23:57 * Package commit: 2f08b8 * Julia commit: 44fa15 * 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 | |------------------------------------------------------------------------------------------|----------------:|----------:|----------------:|------------:| | `["append", "append!!(::SVector, ::SingletonVector)"]` | 872.797 μs (5%) | | 1.53 MiB (1%) | 100000 | | `["append", "append!!(::Vector, ::SingletonVector)"]` | 431.599 μs (5%) | | | | | `["append", "append!!(Empty(SVector), ::SingletonVector)"]` | 2.900 ns (5%) | | | | | `["collectors", ":comp => \"filter\"", ":impl => \"base\""]` | 35.400 μs (5%) | | 128.66 KiB (1%) | 14 | | `["collectors", ":comp => \"filter\"", ":impl => \"coll\""]` | 42.200 μs (5%) | | 284.81 KiB (1%) | 5012 | | `["collectors", ":comp => \"filter\"", ":impl => \"nonexpanding\""]` | 34.000 μs (5%) | | 312.75 KiB (1%) | 5005 | | `["collectors", ":comp => \"filter\"", ":impl => \"vec\""]` | 37.600 μs (5%) | | 128.59 KiB (1%) | 13 | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 4.550 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 5.150 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"safe_coll\""]` | 9.800 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"vec\""]` | 63.100 μs (5%) | | 256.64 KiB (1%) | 14 | | `["dataframes", "Categorical"]` | 762.590 ms (5%) | 89.832 ms | 992.89 MiB (1%) | 6318092 | | `["dataframes", "Int-Int"]` | 1.033 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-Int"]` | 1.438 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-String"]` | 1.476 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["dataframes", "String-String"]` | 1.422 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :empty"]` | 39.900 μs (5%) | | 91.72 KiB (1%) | 14 | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :equal"]` | 19.100 μs (5%) | | | | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :half"]` | 33.100 μs (5%) | | 68.34 KiB (1%) | 5 | | `["mergewith", ":combine => :+", ":desttype => :widen", ":destkeys => :empty"]` | 39.300 μs (5%) | | 92.31 KiB (1%) | 18 | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :empty"]` | 37.300 μs (5%) | | 91.72 KiB (1%) | 14 | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :equal"]` | 16.599 μs (5%) | | | | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :half"]` | 29.199 μs (5%) | | 68.34 KiB (1%) | 5 | | `["mergewith", ":combine => :right", ":desttype => :widen", ":destkeys => :empty"]` | 40.100 μs (5%) | | 92.31 KiB (1%) | 18 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["append"]` - `["collectors", ":comp => \"filter\""]` - `["collectors", ":comp => \"map\""]` - `["dataframes"]` - `["mergewith", ":combine => :+", ":desttype => :compatible"]` - `["mergewith", ":combine => :+", ":desttype => :widen"]` - `["mergewith", ":combine => :right", ":desttype => :compatible"]` - `["mergewith", ":combine => :right", ":desttype => :widen"]` ## Julia versioninfo ``` Julia Version 1.4.2 Commit 44fa15b150* (2020-05-23 18:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.3.0-1020-azure #21~18.04.1-Ubuntu SMP Wed Apr 15 09:35:56 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 25727 s 0 s 1766 s 39165 s 0 s #2 2294 MHz 8244 s 0 s 1399 s 56679 s 0 s Memory: 6.764888763427734 GB (3442.81640625 MB free) Uptime: 680.0 sec Load Avg: 1.02197265625 0.77392578125 0.39453125 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, broadwell) ``` --- # Baseline result # Benchmark Report for */home/runner/work/BangBang.jl/BangBang.jl* ## Job Properties * Time of benchmark: 30 May 2020 - 23:59 * Package commit: b542d4 * Julia commit: 44fa15 * 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 | |------------------------------------------------------------------------------------------|----------------:|-----------:|----------------:|------------:| | `["append", "append!!(::SVector, ::SingletonVector)"]` | 1.070 ms (5%) | | 1.53 MiB (1%) | 100000 | | `["append", "append!!(::Vector, ::SingletonVector)"]` | 431.999 μs (5%) | | | | | `["append", "append!!(Empty(SVector), ::SingletonVector)"]` | 2.900 ns (5%) | | | | | `["collectors", ":comp => \"filter\"", ":impl => \"base\""]` | 36.300 μs (5%) | | 128.66 KiB (1%) | 14 | | `["collectors", ":comp => \"filter\"", ":impl => \"coll\""]` | 42.900 μs (5%) | | 284.81 KiB (1%) | 5012 | | `["collectors", ":comp => \"filter\"", ":impl => \"nonexpanding\""]` | 36.200 μs (5%) | | 312.75 KiB (1%) | 5005 | | `["collectors", ":comp => \"filter\"", ":impl => \"vec\""]` | 36.600 μs (5%) | | 128.59 KiB (1%) | 13 | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 4.800 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 4.500 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"safe_coll\""]` | 9.400 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"vec\""]` | 63.900 μs (5%) | | 256.64 KiB (1%) | 14 | | `["dataframes", "Categorical"]` | 883.667 ms (5%) | 104.736 ms | 992.89 MiB (1%) | 6318092 | | `["dataframes", "Int-Int"]` | 1.027 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-Int"]` | 1.399 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-String"]` | 1.438 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["dataframes", "String-String"]` | 1.410 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :empty"]` | 42.300 μs (5%) | | 91.72 KiB (1%) | 14 | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :equal"]` | 19.000 μs (5%) | | | | | `["mergewith", ":combine => :+", ":desttype => :compatible", ":destkeys => :half"]` | 34.100 μs (5%) | | 68.34 KiB (1%) | 5 | | `["mergewith", ":combine => :+", ":desttype => :widen", ":destkeys => :empty"]` | 40.900 μs (5%) | | 92.31 KiB (1%) | 18 | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :empty"]` | 33.400 μs (5%) | | 91.72 KiB (1%) | 14 | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :equal"]` | 17.500 μs (5%) | | | | | `["mergewith", ":combine => :right", ":desttype => :compatible", ":destkeys => :half"]` | 29.400 μs (5%) | | 68.34 KiB (1%) | 5 | | `["mergewith", ":combine => :right", ":desttype => :widen", ":destkeys => :empty"]` | 37.299 μs (5%) | | 92.31 KiB (1%) | 18 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["append"]` - `["collectors", ":comp => \"filter\""]` - `["collectors", ":comp => \"map\""]` - `["dataframes"]` - `["mergewith", ":combine => :+", ":desttype => :compatible"]` - `["mergewith", ":combine => :+", ":desttype => :widen"]` - `["mergewith", ":combine => :right", ":desttype => :compatible"]` - `["mergewith", ":combine => :right", ":desttype => :widen"]` ## Julia versioninfo ``` Julia Version 1.4.2 Commit 44fa15b150* (2020-05-23 18:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.3.0-1020-azure #21~18.04.1-Ubuntu SMP Wed Apr 15 09:35:56 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 31068 s 0 s 1852 s 44364 s 0 s #2 2294 MHz 13483 s 0 s 1506 s 61956 s 0 s Memory: 6.764888763427734 GB (3417.89453125 MB free) Uptime: 787.0 sec Load Avg: 1.12646484375 0.8798828125 0.478515625 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, broadwell) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `openblas64` | | `Sys.CPU_THREADS` | 2 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz Stepping: 1 CPU MHz: 2294.687 BogoMIPS: 4589.37 Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 51200K NUMA node0 CPU(s): 0,1 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 rdseed adx smap xsaveopt | Cpu Property | Value | |:------------------ |:------------------------------------------------------- | | Brand | Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz | | Vendor | :Intel | | Architecture | :Broadwell | | Model | Family: 0x06, Model: 0x4f, Stepping: 0x01, Type: 0x00 | | Cores | 2 physical cores, 2 logical cores (on executing CPU) | | | No Hyperthreading detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 256, 51200) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 44 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 |