Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wI2L/jsondiff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.0
Choose a base ref
...
head repository: wI2L/jsondiff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.1
Choose a head ref
  • 9 commits
  • 16 files changed
  • 1 contributor

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    d80a84c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfdd539 View commit details
    Browse the repository at this point in the history
  3. feat: nested array equivalence

    Closes #29
    
                                               │     old     │                 new                  │
                                               │   sec/op    │    sec/op     vs base                │
    Small/DifferReset/default-10                 1.239µ ± 1%    1.239µ ± 1%        ~ (p=0.361 n=10)
    Small/Differ/default-10                      1.455µ ± 1%    1.462µ ± 0%        ~ (p=0.126 n=10)
    Small/DifferReset/default-unordered-10       1.299µ ± 1%    1.303µ ± 1%        ~ (p=0.136 n=10)
    Small/Differ/default-unordered-10            1.642µ ± 0%    1.642µ ± 1%        ~ (p=0.752 n=10)
    Small/DifferReset/invertible-10              1.252µ ± 1%    1.250µ ± 1%        ~ (p=0.193 n=10)
    Small/Differ/invertible-10                   1.593µ ± 0%    1.595µ ± 1%        ~ (p=0.590 n=10)
    Small/DifferReset/factorize-10               2.041µ ± 1%    2.034µ ± 1%   -0.34% (p=0.009 n=10)
    Small/Differ/factorize-10                    2.364µ ± 0%    2.357µ ± 1%        ~ (p=0.322 n=10)
    Small/DifferReset/rationalize-10             1.318µ ± 1%    1.317µ ± 0%        ~ (p=0.485 n=10)
    Small/Differ/rationalize-10                  1.540µ ± 1%    1.543µ ± 0%        ~ (p=0.284 n=10)
    Small/DifferReset/equivalent-10              1.236µ ± 1%    1.236µ ± 1%        ~ (p=0.381 n=10)
    Small/Differ/equivalent-10                   1.460µ ± 0%    1.460µ ± 1%        ~ (p=0.424 n=10)
    Small/DifferReset/equivalent-unordered-10    1.334µ ± 1%    1.336µ ± 1%        ~ (p=0.752 n=10)
    Small/Differ/equivalent-unordered-10         1.565µ ± 0%    1.565µ ± 1%        ~ (p=0.468 n=10)
    Small/DifferReset/factor+ratio-10            2.115µ ± 1%    2.109µ ± 1%        ~ (p=0.302 n=10)
    Small/Differ/factor+ratio-10                 2.439µ ± 0%    2.442µ ± 0%        ~ (p=0.564 n=10)
    Small/DifferReset/all-10                     2.184µ ± 1%    2.188µ ± 1%        ~ (p=0.303 n=10)
    Small/Differ/all-10                          2.644µ ± 0%    2.650µ ± 0%        ~ (p=0.196 n=10)
    Small/DifferReset/all-unordered-10           2.286µ ± 1%    2.296µ ± 2%   +0.44% (p=0.014 n=10)
    Small/Differ/all-unordered-10                2.742µ ± 0%    2.751µ ± 0%   +0.33% (p=0.004 n=10)
    Medium/DifferReset/default-10                3.587µ ± 1%    3.597µ ± 1%        ~ (p=0.110 n=10)
    Medium/Differ/default-10                     4.163µ ± 1%    4.178µ ± 1%        ~ (p=0.224 n=10)
    Medium/DifferReset/default-unordered-10      3.876µ ± 1%    3.891µ ± 1%        ~ (p=0.101 n=10)
    Medium/Differ/default-unordered-10           4.750µ ± 1%    4.753µ ± 0%        ~ (p=0.781 n=10)
    Medium/DifferReset/invertible-10             3.638µ ± 1%    3.644µ ± 1%        ~ (p=0.256 n=10)
    Medium/Differ/invertible-10                  4.535µ ± 1%    4.562µ ± 1%        ~ (p=0.093 n=10)
    Medium/DifferReset/factorize-10              6.351µ ± 2%    6.361µ ± 1%        ~ (p=0.256 n=10)
    Medium/Differ/factorize-10                   7.255µ ± 0%    7.266µ ± 1%        ~ (p=0.324 n=10)
    Medium/DifferReset/rationalize-10            3.894µ ± 1%    3.903µ ± 1%        ~ (p=0.240 n=10)
    Medium/Differ/rationalize-10                 4.261µ ± 1%    4.270µ ± 1%        ~ (p=0.493 n=10)
    Medium/DifferReset/equivalent-10             5.689µ ± 2%    6.748µ ± 4%  +18.63% (p=0.000 n=10)
    Medium/Differ/equivalent-10                  6.279µ ± 1%    8.547µ ± 0%  +36.11% (p=0.000 n=10)
    Medium/DifferReset/equivalent-unordered-10   6.182µ ± 1%    6.630µ ± 2%   +7.24% (p=0.000 n=10)
    Medium/Differ/equivalent-unordered-10        6.794µ ± 1%    8.554µ ± 1%  +25.91% (p=0.000 n=10)
    Medium/DifferReset/factor+ratio-10           6.583µ ± 2%    6.598µ ± 1%        ~ (p=0.165 n=10)
    Medium/Differ/factor+ratio-10                7.269µ ± 1%    7.300µ ± 1%        ~ (p=0.255 n=10)
    Medium/DifferReset/all-10                    8.977µ ± 1%    9.829µ ± 3%   +9.50% (p=0.000 n=10)
    Medium/Differ/all-10                         9.888µ ± 1%   12.267µ ± 0%  +24.07% (p=0.000 n=10)
    Medium/DifferReset/all-unordered-10          9.772µ ± 1%    9.818µ ± 1%        ~ (p=0.382 n=10)
    Medium/Differ/all-unordered-10               10.70µ ± 1%    12.28µ ± 1%  +14.71% (p=0.000 n=10)
    geomean                                      3.178µ         3.281µ        +3.24%
    
                                               │     old      │                  new                  │
                                               │     B/op     │     B/op      vs base                 │
    Small/DifferReset/default-10                   216.0 ± 0%     216.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/default-10                      1.164Ki ± 0%   1.164Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/default-unordered-10         312.0 ± 0%     312.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/default-unordered-10            2.008Ki ± 0%   2.008Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/invertible-10                216.0 ± 0%     216.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/invertible-10                   1.914Ki ± 0%   1.914Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/factorize-10                 400.0 ± 0%     400.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/factorize-10                    1.734Ki ± 0%   1.734Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/rationalize-10               224.0 ± 0%     224.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/rationalize-10                  1.172Ki ± 0%   1.172Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/equivalent-10                216.0 ± 0%     216.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/equivalent-10                   1.164Ki ± 0%   1.164Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/equivalent-unordered-10      216.0 ± 0%     216.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/equivalent-unordered-10         1.164Ki ± 0%   1.164Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/factor+ratio-10              408.0 ± 0%     408.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/factor+ratio-10                 1.742Ki ± 0%   1.742Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/all-10                       408.0 ± 0%     408.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/all-10                          2.492Ki ± 0%   2.492Ki ± 0%       ~ (p=1.000 n=10) ¹
    Small/DifferReset/all-unordered-10             520.0 ± 0%     520.0 ± 0%       ~ (p=1.000 n=10) ¹
    Small/Differ/all-unordered-10                2.602Ki ± 0%   2.602Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/default-10                  624.0 ± 0%     624.0 ± 0%       ~ (p=1.000 n=10) ¹
    Medium/Differ/default-10                     3.812Ki ± 0%   3.812Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/default-unordered-10        848.0 ± 0%     848.0 ± 0%       ~ (p=1.000 n=10) ¹
    Medium/Differ/default-unordered-10           7.031Ki ± 0%   7.031Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/invertible-10               624.0 ± 0%     624.0 ± 0%       ~ (p=1.000 n=10) ¹
    Medium/Differ/invertible-10                  6.812Ki ± 0%   6.812Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/factorize-10              1.373Ki ± 0%   1.372Ki ± 0%       ~ (p=0.370 n=10)
    Medium/Differ/factorize-10                   5.654Ki ± 0%   5.654Ki ± 0%       ~ (p=1.000 n=10)
    Medium/DifferReset/rationalize-10              672.0 ± 0%     672.0 ± 0%       ~ (p=1.000 n=10) ¹
    Medium/Differ/rationalize-10                 2.359Ki ± 0%   2.359Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/equivalent-10             1.359Ki ± 0%   1.359Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/Differ/equivalent-10                  4.562Ki ± 0%   4.562Ki ± 0%       ~ (p=1.000 n=10) ¹
    Medium/DifferReset/equivalent-unordered-10   1.453Ki ± 0%   1.359Ki ± 0%  -6.45% (p=0.000 n=10)
    Medium/Differ/equivalent-unordered-10        4.656Ki ± 0%   4.562Ki ± 0%  -2.01% (p=0.000 n=10)
    Medium/DifferReset/factor+ratio-10           1.420Ki ± 0%   1.419Ki ± 0%       ~ (p=1.000 n=10)
    Medium/Differ/factor+ratio-10                4.200Ki ± 0%   4.200Ki ± 0%       ~ (p=0.628 n=10)
    Medium/DifferReset/all-10                    2.170Ki ± 0%   2.170Ki ± 0%       ~ (p=0.861 n=10)
    Medium/Differ/all-10                         6.451Ki ± 0%   6.451Ki ± 0%       ~ (p=0.650 n=10)
    Medium/DifferReset/all-unordered-10          2.308Ki ± 0%   2.169Ki ± 0%  -6.01% (p=0.000 n=10)
    Medium/Differ/all-unordered-10               6.589Ki ± 0%   6.450Ki ± 0%  -2.10% (p=0.000 n=10)
    geomean                                      1.282Ki        1.277Ki       -0.43%
    ¹ all samples are equal
    
                                               │    old     │                 new                  │
                                               │ allocs/op  │ allocs/op   vs base                  │
    Small/DifferReset/default-10                 9.000 ± 0%   9.000 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/default-10                      13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/default-unordered-10       13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/default-unordered-10            18.00 ± 0%   18.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/invertible-10              9.000 ± 0%   9.000 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/invertible-10                   14.00 ± 0%   14.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/factorize-10               21.00 ± 0%   21.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/factorize-10                    27.00 ± 0%   27.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/rationalize-10             10.00 ± 0%   10.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/rationalize-10                  14.00 ± 0%   14.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/equivalent-10              9.000 ± 0%   9.000 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/equivalent-10                   13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/equivalent-unordered-10    9.000 ± 0%   9.000 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/equivalent-unordered-10         13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/factor+ratio-10            22.00 ± 0%   22.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/factor+ratio-10                 28.00 ± 0%   28.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/all-10                     22.00 ± 0%   22.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/all-10                          29.00 ± 0%   29.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/DifferReset/all-unordered-10           25.00 ± 0%   25.00 ± 0%        ~ (p=1.000 n=10) ¹
    Small/Differ/all-unordered-10                32.00 ± 0%   32.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/default-10                18.00 ± 0%   18.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/default-10                     24.00 ± 0%   24.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/default-unordered-10      26.00 ± 0%   26.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/default-unordered-10           33.00 ± 0%   33.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/invertible-10             18.00 ± 0%   18.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/invertible-10                  25.00 ± 0%   25.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/factorize-10              55.00 ± 0%   55.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/factorize-10                   64.00 ± 0%   64.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/rationalize-10            22.00 ± 0%   22.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/rationalize-10                 27.00 ± 0%   27.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/equivalent-10             26.00 ± 0%   26.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/equivalent-10                  32.00 ± 0%   32.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/equivalent-unordered-10   30.00 ± 0%   26.00 ± 0%  -13.33% (p=0.000 n=10)
    Medium/Differ/equivalent-unordered-10        36.00 ± 0%   32.00 ± 0%  -11.11% (p=0.000 n=10)
    Medium/DifferReset/factor+ratio-10           59.00 ± 0%   59.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/factor+ratio-10                67.00 ± 0%   67.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/all-10                    67.00 ± 0%   67.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/Differ/all-10                         76.00 ± 0%   76.00 ± 0%        ~ (p=1.000 n=10) ¹
    Medium/DifferReset/all-unordered-10          74.00 ± 0%   67.00 ± 0%   -9.46% (p=0.000 n=10)
    Medium/Differ/all-unordered-10               83.00 ± 0%   76.00 ± 0%   -8.43% (p=0.000 n=10)
    geomean                                      24.63        24.36        -1.11%
    ¹ all samples are equal
    wI2L committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    19a2a0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f1f3f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c154e66 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2399596 View commit details
    Browse the repository at this point in the history
  7. fix: bound check on patch insert

    Closes #26
    wI2L committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    ea38423 View commit details
    Browse the repository at this point in the history
  8. ci: fix workflow file extension

    wI2L committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    0a42b43 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. chore: various fixes

    wI2L committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    4fea2d0 View commit details
    Browse the repository at this point in the history
Loading