Comments (9)
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.
If there is anything that is a blocker for you all, please let me know!
from ratatui.
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.
Changes on the other hand can be compared
Yes. This is the entire point of bencher.
from ratatui.
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.
Doesn't seem free btw
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.
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):
I think it's worth experimenting with different options.
from ratatui.
Okay with 2 data points it is better:
from ratatui.
Will resume work on this prrety soon.
from ratatui.
Related Issues (20)
- Support block titles in top-right and bottom-right HOT 4
- Reuse std::fmt::Alignment HOT 3
- Running `cargo test` fails HOT 6
- Inconsistent behavior between `Line::from` and `Line::raw` HOT 3
- Allow bypassing diff and writing all to screen HOT 6
- RSX-based interface to reduce boilerplate code HOT 5
- Make methods / fields on buffer that deal with the underlying content index private.
- Italic Borders? HOT 3
- `clippy::same_name_method` with Stylize HOT 3
- Add a Buffer::fill method
- Move away from using Prelude / glob imports
- Add .next()/.prev() to ListState to make traversing a list of selectable items easier HOT 4
- Consistent examples in ratatui HOT 2
- Add Stylize methods directly to Style HOT 3
- index out of bounds: the len is 17526 but the index is 17526 HOT 9
- Change examples folder structure HOT 4
- Features documentation on docs.rs isn't right. HOT 4
- TableState resets offset to 0 HOT 2
- Bug: ensure that block title rows apply the border style
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ratatui.