Skip to content

Commit

Permalink
Add more prints to the bench
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Feb 10, 2025
1 parent 380ef61 commit d7e66fa
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 47 deletions.
37 changes: 20 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ anyhow = { workspace = true }
async-trait = { workspace = true }
bincode = "1.3.3"
clap = { workspace = true, features = ["derive"] }
console = "0.15.10"
criterion = { version = "0.5", features = [
"html_reports",
"async",
Expand All @@ -30,6 +31,7 @@ fuel-core-sync = { path = "./../crates/services/sync", features = [
fuel-core-trace = { path = "./../crates/trace" }
fuel-core-types = { path = "./../crates/types", features = ["test-helpers"] }
futures = { workspace = true }
indicatif = "0.17.11"
itertools = { workspace = true }
num_enum = { workspace = true }
p256 = { version = "0.13", default-features = false, features = [
Expand All @@ -46,6 +48,7 @@ serde_yaml = "0.9.13"
strum = { workspace = true }
strum_macros = { workspace = true }
test-helpers = { path = "../tests/test-helpers", default-features = false }
text-to-ascii-art = "0.1.10"
tikv-jemallocator = { workspace = true }
tokio = { workspace = true, features = ["full", "rt-multi-thread"] }
tracing = { workspace = true }
Expand Down
10 changes: 7 additions & 3 deletions benches/src/bin/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
You are about to explode the performance of our nodes 🚀🚀 Be ready for the future...
**You are about to explode the performance of our nodes 🚀🚀 Be ready for the future...**

You will execute a block containing 150k TX. If you are on a Macbook Pro M3 it should take 1 second.
If you have even better machine try to explode our performance and share it on Twitter @fuel_network !

### Running
*This process is heavy make sure you have a limited of things running on your machine and focus on this run.*

## Running

You just have to run the binary :

Expand All @@ -13,9 +15,11 @@ You just have to run the binary :

Admire the journey to the moon 🚀🌘 and share your results online.

### I want more !!

If you are starving for more you can tweak the parameters of the binary to execute a block with even more or more transactions :
```
./high_tps_public_bench --number-of-cores 16 --number-of-transactions 150000
```

These are the default values, try to maximize the number of transactions you can execute in 1 second to explode the numbers 💥💥.
*These are the default values, try to maximize the number of transactions you can execute in 1 second to explode the numbers 💥💥.*
Loading

0 comments on commit d7e66fa

Please sign in to comment.