Wikunia / ConstraintSolver.jl

ConstraintSolver in Julia: Blog posts ->
https://opensourc.es/blog/constraint-solver-1
MIT License
136 stars 14 forks source link

WIP: Unit Tests #162

Closed Wikunia closed 4 years ago

Wikunia commented 4 years ago

Start for #161

codecov[bot] commented 4 years ago

Codecov Report

Merging #162 into master will increase coverage by 0.05%. The diff coverage is 97.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
+ Coverage   98.71%   98.76%   +0.05%     
==========================================
  Files          31       31              
  Lines        2482     2513      +31     
==========================================
+ Hits         2450     2482      +32     
+ Misses         32       31       -1     
Flag Coverage Δ
#unittests 98.76% <97.46%> (+0.05%) :arrow_up:
Impacted Files Coverage Δ
src/MOI_wrapper/constraints.jl 100.00% <ø> (ø)
src/constraints/all_different.jl 100.00% <ø> (ø)
src/constraints/not_equal.jl 96.07% <ø> (-0.08%) :arrow_down:
src/constraints/table.jl 100.00% <ø> (ø)
src/options.jl 100.00% <ø> (ø)
src/constraints/eq_sum.jl 96.31% <96.82%> (-2.12%) :arrow_down:
src/ConstraintSolver.jl 99.14% <100.00%> (+<0.01%) :arrow_up:
src/constraints/equal.jl 95.34% <100.00%> (+4.65%) :arrow_up:
src/constraints/less_than.jl 100.00% <100.00%> (ø)
src/constraints/svc.jl 87.50% <100.00%> (+5.14%) :arrow_up:
... and 4 more

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 34c94a0...ef07899. Read the comment docs.

Wikunia commented 4 years ago

Benchmark Report for ConstraintSolver

Job Properties

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
["graph_coloring", "US_50colors"] 0.91 (5%) :white_check_mark: 1.00 (1%)
["graph_coloring", "US_50colors+equal"] 0.93 (5%) :white_check_mark: 1.01 (1%) :x:
["graph_coloring", "US_8+equal"] 0.94 (5%) :white_check_mark: 1.01 (1%) :x:
["killer_sudoku", "niall_5500"] 0.46 (5%) :white_check_mark: 0.48 (1%) :white_check_mark:
["killer_sudoku", "niall_5500_special"] 0.61 (5%) :white_check_mark: 0.68 (1%) :white_check_mark:
["killer_sudoku", "niall_5501"] 1.00 (5%) 1.02 (1%) :x:
["killer_sudoku", "niall_5501_special"] 0.39 (5%) :white_check_mark: 0.45 (1%) :white_check_mark:

Benchmark Group List

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

Julia versioninfo

Target

Julia Version 1.4.0
Commit b8e9a9ecc6 (2020-03-21 16:36 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  uname: Linux 5.4.40-1-lts #1 SMP Sun, 10 May 2020 10:44:18 +0000 x86_64 unknown
  CPU: Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz: 
                 speed         user         nice          sys         idle          irq
       #1-12  2231 MHz      47771 s        107 s       6755 s    1588880 s        700 s

  Memory: 46.99446487426758 GB (41546.81640625 MB free)
  Uptime: 1372.0 sec
  Load Avg:  1.02294921875  0.7509765625  0.396484375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, sandybridge)

Baseline

Julia Version 1.4.0
Commit b8e9a9ecc6 (2020-03-21 16:36 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  uname: Linux 5.4.40-1-lts #1 SMP Sun, 10 May 2020 10:44:18 +0000 x86_64 unknown
  CPU: Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz: 
                 speed         user         nice          sys         idle          irq
       #1-12  1848 MHz      76244 s        107 s       7636 s    1888737 s        791 s

  Memory: 46.99446487426758 GB (41419.24609375 MB free)
  Uptime: 1646.0 sec
  Load Avg:  1.30908203125  1.037109375  0.61181640625
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, sandybridge)