Skip to content
This repository was archived by the owner on Mar 6, 2018. It is now read-only.
This repository was archived by the owner on Mar 6, 2018. It is now read-only.

Slow performance and large size #4

Closed

Description

@Akkuma

Compared to alternative implementations it comes out to be roughly 2-3x slower and is also larger in size
http://jsperf.com/json-patch-benchmark/2

Activity

  1. sonnyp commented on Oct 22, 2015

    @sonnyp
    Contributor

    is also larger in size

    What do you refer to?

    I never took the time to optimize JSON8/patch but it should be easy to reach bruth implementation performances. https://github.com/Starcounter-Jack/JSON-Patch is faster but is not standard compliant

  2. Akkuma commented on Oct 22, 2015

    @Akkuma
    Author

    Larger in size refers to file size. Only Jiff appears to be larger, but its performance is comparable to the others.

  3. sonnyp commented on Nov 6, 2015

    @sonnyp
    Contributor

    About large file; JSON8/patch offers more functionally. But you might not need them them all. You can browserify/webpack/require only the one you need.

    require('json8-patch/lib/apply')

  4. sonnyp commented on Nov 6, 2015

    @sonnyp
    Contributor

    About performance, thanks, I'll have a look into it.
    #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions