Code Monkey home page Code Monkey logo

Comments (4)

tonybaloney avatar tonybaloney commented on September 23, 2024

no that's not currently supported.

Just so I understand, would you run all the benchmarks with no comparison function? You're only interested in min, max and mean?

I could change the code to look at the length of the tuple and not run a comparator test if there isn't a second benchmark defined. It would get tricky if some did and some didn't (with the table output)

from rich-bench.

bluenote10 avatar bluenote10 commented on September 23, 2024

Just so I understand, would you run all the benchmarks with no comparison function? You're only interested in min, max and mean?

Yes that would already suffice (perhaps trimmed mean / median).

What I had in mind is a workflow as offered by frameworks like e.g. criterion.rs in Rust. By default they just measure the test cases as defined. Internally they also offer comparison to the last execution or also explicitly saved snapshots. This can be helpful to e.g. benchmark before/after an optimization or refactoring for comparison. Or to track the longer term performance development of a project to see how things evolve over time when e.g. dependencies change (by committing these snapshot files into git).

This internal diffing isn't super important though, because a lot can already be achieved by doing manual before/after or snapshot runs. Thanks to the beautiful output in the form of a table, once could for instance simply take the output and append it to some benchmarks_log.txt committed to git, which would also nicely document the performance evolvement of a project.

from rich-bench.

tonybaloney avatar tonybaloney commented on September 23, 2024

ASV (airspeed velocity) might suit your requirements, it has a database, web UI and a ton of other tools. Some big data science libraries (iirc Pandas inc) use it.

https://asv.readthedocs.io/en/stable/using.html

from rich-bench.

bluenote10 avatar bluenote10 commented on September 23, 2024

Yes indeed, ASV is pretty nice! In certain use cases something more lightweight like rich-bench is a nice alternative though due to its simplicity.

from rich-bench.

Related Issues (3)

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.