Code Monkey home page Code Monkey logo

Comments (6)

shishirmk avatar shishirmk commented on July 17, 2024 2

We may need to clean up and remove the json string serialization performance tests altogether or make them information only. The gem controls only the ruby hash creation time after that its just multi json and the chosen engine.

from fast_jsonapi.

shishirmk avatar shishirmk commented on July 17, 2024 1

@vovimayhem We can change the 25x criteria. if the feature really needs some performance degradation we will lower the criteria. I think we should always start by discussing if we can implement the feature without any material change to performance.

Here is an example of a sample discussion i enjoyed #49

from fast_jsonapi.

christophersansone avatar christophersansone commented on July 17, 2024 1

Agreed with @shishirmk . I love that the performance metrics are part of the process. PRs that do not impact performance can be approved quickly, but implementations that have a performance impact will at least raise a red flag to the maintainers. It may just require a minor tweak to fix the performance change, or we may be able to more tightly isolate the performance degradation to certain cases (e.g. a 10% degradation for polymorphic associations vs. a 10% degradation for all serialization).

from fast_jsonapi.

vovimayhem avatar vovimayhem commented on July 17, 2024

I understand - even praise - the performance criteria set up for this project. But maybe the "at least 25x" criteria is either a bit too much, or too inflexible for some scenarios that are actually hitting this limit.

I'm seeing (right now) master fail a couple of performance tests by 1x or less... leaving no headroom for adding new features :( - I'm taking a jab at #37 right now, and given master fails by 1x, my branch failing at around 2x on those same tests I feel it's a bummer.

from fast_jsonapi.

vovimayhem avatar vovimayhem commented on July 17, 2024

Agreed - see #64 :)

from fast_jsonapi.

shishirmk avatar shishirmk commented on July 17, 2024

This is still an issue after the release of version 1.1.0 so i think we need to tackle this and ensure that performance tests are stable and stop failing erratically

from fast_jsonapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.