JuliaFolds / BangBang.jl

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

Move mergewith!! out of Experimental #150

Closed tkf closed 4 years ago

codecov-commenter commented 4 years ago

Codecov Report

Merging #150 into master will not change coverage. The diff coverage is 85.71%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #150   +/-   ##
=======================================
  Coverage   92.03%   92.03%           
=======================================
  Files          22       22           
  Lines         452      452           
=======================================
  Hits          416      416           
  Misses         36       36           
Impacted Files Coverage Δ
src/BangBang.jl 100.00% <ø> (ø)
src/experimental.jl 100.00% <ø> (+2.43%) :arrow_up:
src/base.jl 83.33% <85.71%> (+0.17%) :arrow_up:

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 49bdc73...081c6d1. 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: 24 May 2020 - 23:09 - Baseline: 24 May 2020 - 23:10 * Package commits: - Target: eaa008 - Baseline: 49bdc7 * Julia commits: - Target: 381693 - Baseline: 381693 * 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)"]` | 1.07 (5%) :x: | 1.00 (1%) | | `["append", "append!!(Empty(SVector), ::SingletonVector)"]` | 1.08 (5%) :x: | 1.00 (1%) | | `["collectors", ":comp => \"filter\"", ":impl => \"vec\""]` | 0.92 (5%) :white_check_mark: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 1.07 (5%) :x: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 1.08 (5%) :x: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"safe_coll\""]` | 1.06 (5%) :x: | 1.00 (1%) | | `["collectors", ":comp => \"map\"", ":impl => \"vec\""]` | 1.07 (5%) :x: | 1.00 (1%) | | `["dataframes", "Categorical"]` | 0.88 (5%) :white_check_mark: | 1.00 (1%) | | `["dataframes", "Int-Int"]` | 1.67 (5%) :x: | 1.00 (1%) | | `["dataframes", "Missing-Int"]` | 1.64 (5%) :x: | 1.00 (1%) | | `["dataframes", "Missing-String"]` | 1.19 (5%) :x: | 1.00 (1%) | | `["dataframes", "String-String"]` | 1.05 (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"]` ## Julia versioninfo ### Target ``` Julia Version 1.4.1 Commit 381693d3df* (2020-04-14 17:20 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) Platinum 8171M CPU @ 2.60GHz: speed user nice sys idle irq #1 2095 MHz 19721 s 0 s 1380 s 8881 s 0 s #2 2095 MHz 6620 s 0 s 1568 s 22421 s 0 s Memory: 6.764888763427734 GB (3532.57421875 MB free) Uptime: 318.0 sec Load Avg: 1.06494140625 0.810546875 0.38232421875 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, skylake) ``` ### Baseline ``` Julia Version 1.4.1 Commit 381693d3df* (2020-04-14 17:20 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) Platinum 8171M CPU @ 2.60GHz: speed user nice sys idle irq #1 2095 MHz 27035 s 0 s 1524 s 10573 s 0 s #2 2095 MHz 8401 s 0 s 1637 s 29713 s 0 s Memory: 6.764888763427734 GB (3533.984375 MB free) Uptime: 410.0 sec Load Avg: 1.01220703125 0.86328125 0.44384765625 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, skylake) ``` --- # Target result # Benchmark Report for */home/runner/work/BangBang.jl/BangBang.jl* ## Job Properties * Time of benchmark: 24 May 2020 - 23:9 * Package commit: eaa008 * Julia commit: 381693 * 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.103 ms (5%) | | 1.53 MiB (1%) | 100000 | | `["append", "append!!(::Vector, ::SingletonVector)"]` | 534.103 μs (5%) | | | | | `["append", "append!!(Empty(SVector), ::SingletonVector)"]` | 4.000 ns (5%) | | | | | `["collectors", ":comp => \"filter\"", ":impl => \"base\""]` | 43.700 μs (5%) | | 128.66 KiB (1%) | 14 | | `["collectors", ":comp => \"filter\"", ":impl => \"coll\""]` | 45.201 μs (5%) | | 284.81 KiB (1%) | 5012 | | `["collectors", ":comp => \"filter\"", ":impl => \"nonexpanding\""]` | 45.000 μs (5%) | | 312.75 KiB (1%) | 5005 | | `["collectors", ":comp => \"filter\"", ":impl => \"vec\""]` | 38.401 μs (5%) | | 128.59 KiB (1%) | 13 | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 7.900 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 7.800 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"safe_coll\""]` | 12.700 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"vec\""]` | 81.901 μs (5%) | | 256.64 KiB (1%) | 14 | | `["dataframes", "Categorical"]` | 738.283 ms (5%) | 91.322 ms | 992.89 MiB (1%) | 6318092 | | `["dataframes", "Int-Int"]` | 1.971 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-Int"]` | 2.408 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-String"]` | 1.628 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["dataframes", "String-String"]` | 1.538 ms (5%) | | 160.27 KiB (1%) | 10252 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["append"]` - `["collectors", ":comp => \"filter\""]` - `["collectors", ":comp => \"map\""]` - `["dataframes"]` ## Julia versioninfo ``` Julia Version 1.4.1 Commit 381693d3df* (2020-04-14 17:20 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) Platinum 8171M CPU @ 2.60GHz: speed user nice sys idle irq #1 2095 MHz 19721 s 0 s 1380 s 8881 s 0 s #2 2095 MHz 6620 s 0 s 1568 s 22421 s 0 s Memory: 6.764888763427734 GB (3532.57421875 MB free) Uptime: 318.0 sec Load Avg: 1.06494140625 0.810546875 0.38232421875 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, skylake) ``` --- # Baseline result # Benchmark Report for */home/runner/work/BangBang.jl/BangBang.jl* ## Job Properties * Time of benchmark: 24 May 2020 - 23:10 * Package commit: 49bdc7 * Julia commit: 381693 * 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.028 ms (5%) | | 1.53 MiB (1%) | 100000 | | `["append", "append!!(::Vector, ::SingletonVector)"]` | 535.502 μs (5%) | | | | | `["append", "append!!(Empty(SVector), ::SingletonVector)"]` | 3.700 ns (5%) | | | | | `["collectors", ":comp => \"filter\"", ":impl => \"base\""]` | 42.701 μs (5%) | | 128.66 KiB (1%) | 14 | | `["collectors", ":comp => \"filter\"", ":impl => \"coll\""]` | 46.400 μs (5%) | | 284.81 KiB (1%) | 5012 | | `["collectors", ":comp => \"filter\"", ":impl => \"nonexpanding\""]` | 44.600 μs (5%) | | 312.75 KiB (1%) | 5005 | | `["collectors", ":comp => \"filter\"", ":impl => \"vec\""]` | 41.900 μs (5%) | | 128.59 KiB (1%) | 13 | | `["collectors", ":comp => \"map\"", ":impl => \"coll\""]` | 7.400 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"man\""]` | 7.200 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"safe_coll\""]` | 12.000 μs (5%) | | 78.20 KiB (1%) | 2 | | `["collectors", ":comp => \"map\"", ":impl => \"vec\""]` | 76.700 μs (5%) | | 256.64 KiB (1%) | 14 | | `["dataframes", "Categorical"]` | 837.120 ms (5%) | 101.469 ms | 992.89 MiB (1%) | 6318092 | | `["dataframes", "Int-Int"]` | 1.177 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-Int"]` | 1.467 ms (5%) | | 160.23 KiB (1%) | 10251 | | `["dataframes", "Missing-String"]` | 1.365 ms (5%) | | 160.27 KiB (1%) | 10252 | | `["dataframes", "String-String"]` | 1.459 ms (5%) | | 160.27 KiB (1%) | 10252 | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["append"]` - `["collectors", ":comp => \"filter\""]` - `["collectors", ":comp => \"map\""]` - `["dataframes"]` ## Julia versioninfo ``` Julia Version 1.4.1 Commit 381693d3df* (2020-04-14 17:20 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) Platinum 8171M CPU @ 2.60GHz: speed user nice sys idle irq #1 2095 MHz 27035 s 0 s 1524 s 10573 s 0 s #2 2095 MHz 8401 s 0 s 1637 s 29713 s 0 s Memory: 6.764888763427734 GB (3533.984375 MB free) Uptime: 410.0 sec Load Avg: 1.01220703125 0.86328125 0.44384765625 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, skylake) ``` --- # 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: 85 Model name: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz Stepping: 4 CPU MHz: 2095.078 BogoMIPS: 4190.15 Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 36608K 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 mpx avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves | 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 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, 44 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 |