Code Monkey home page Code Monkey logo

Comments (9)

joshka avatar joshka commented on June 20, 2024 1

Looks cool! I'm curious about what do we need to move forward with it? Should we reach out to them or can we just integrate it somehow?

Read the docs, sign up, do the tasks required.

from ratatui.

epompeii avatar epompeii commented on June 20, 2024 1

If there is anything that is a blocker for you all, please let me know!

from ratatui.

EdJoPaTo avatar EdJoPaTo commented on June 20, 2024

Keep in mind that benchmarks are likely biased to the specific problem added in them and might not reflect user usage. It might miss something user code uses that might give a false sense on the benchmark.
This should not stop us from refactoring benchmarks. Having useful benchmarks is way more important than having historic benchmark comparison graphs for longer.

Also, the benchmarks are highly dependent on their environment like target triple. x64 has other benefits compared to different ARM platforms. Apple silicon for example has some instructions explicitly for having easier to run code written for x64 which is why Rosetta works explicitly well on Apple ARM. The Windows ARM comparability layer does not have this which is why it’s way slower. While it’s both ARM it’s hard to compare them because of stuff like that.

As with all benchmarks absolute numbers are only useful on the given target and can not be easily compared. Changes on the other hand can be compared. (Examples: M2 Performance Core with M2 Performance Core is comparable with absolute Numbers. M2 Perf to Efficiency core is not. M2 to random benchmark platform target is not. M2 to Raspberry Pi is not. The change percentages however are comparable at least for the target triple & glibc version.)

So this will only ever give a rough idea and changing a benchmark code will result in a new graph.
This should only ever be a hint at „there might be something of“.

from ratatui.

joshka avatar joshka commented on June 20, 2024

Changes on the other hand can be compared

Yes. This is the entire point of bencher.

from ratatui.

orhun avatar orhun commented on June 20, 2024

Looks cool! I'm curious about what do we need to move forward with it? Should we reach out to them or can we just integrate it somehow?

from ratatui.

orhun avatar orhun commented on June 20, 2024

Doesn't seem free btw

image

Edit: Oops, there is also a free plan, but they made the text so frickin small that I couldn't see it.

I will try packaging the bencher CLI and do some tests.

from ratatui.

orhun avatar orhun commented on June 20, 2024

I created a dummy project and uploaded some benchmark results for testing:

bencher run --project "orhun-s-project" --token $BENCHER_API_TOKEN --adapter rust_criterion "cargo bench"

Here is how barchart render benchmark looks like (not very exciting because just a single data point for now):

image

share URL

I think it's worth experimenting with different options.

from ratatui.

orhun avatar orhun commented on June 20, 2024

Okay with 2 data points it is better:

image

url

from ratatui.

orhun avatar orhun commented on June 20, 2024

Will resume work on this prrety soon.

from ratatui.

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.