Giter Club home page Giter Club logo

Comments (3)

ayende avatar ayende commented on June 15, 2024 1

Yes, that would absolutely be fine by us.
Note that we are routinely updating our code to reflect new behaviors as changes to the runtime occurs

For example, we used to have our own lock free dictionary and switch to ConcurrentDictionary in some cases recently.

May be worth also re-visting that one in a while

from ravendb.

LoopedBard3 avatar LoopedBard3 commented on June 15, 2024

I have started taking a look to figure out which benchmarks would be the best candidates to copy over into the performance benchmark tests. I am wondering if there are any specific benchmarks that have been useful for catching regressions in the past or that y'all think would be best to include in the copied tests?

It seems that the Micro, ServerStoreTxMerger, Voron, and VxSort benchmark sets are the ones already using Benchmark DotNet, which is what we use for most of our tests already. As such, my initial plan is to focus on the Micro benchmarks as a starting point for the benchmarks to setup. Please let me know any thoughts!

from ravendb.

redknightlois avatar redknightlois commented on June 15, 2024

For catching platform regressions (that could happen when we update .Net version), I would say that from the Micro project you could include the following:

  • HopeEncoder
  • IntegerEncoder
  • TypeCache
  • PIRandomRead
  • PIRandomWrite
  • Compare
  • Diff

BlittableJsonBench.cs has some that are important to track over time. The Voron ones are too low level (specially the Corax ones) but IF I would want to have a baseline I would include the BTREE and the TABLE ones. Corax ones are too micro to make a dent because we know that bottlenecks are not there anyways, you would be wasting compute power for something that would not change the outcome. VxSort are not important, they are too low level and just used for metrics on the underlying sorting algorithm for Corax.

BUT, only the ones that call the RavenDB code... in all cases most of the benchmarks are immortalized code (code that we used to have or had developed to test optimization ideas) in the project itself to use as comparison. We keep them also because the underlying optimizations performed at the platform level would throw a curve-ball or two between major releases.

It's important to know though that those are mostly internal calls, and therefore are not required to stay the same even within minor releases.

from ravendb.

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.