FuelLabs / fuels-ts

Fuel Network Typescript SDK
https://docs.fuel.network/docs/fuels-ts/
Apache License 2.0
44.25k stars 1.34k forks source link

Add basic infra for benchmarks #3043

Closed arboleya closed 2 days ago

arboleya commented 2 weeks ago

The idea is to start measuring user-perceived network roundtrip/latency from the SDK perspective.


Points of analysis:

  1. Get Transaction Cost
  2. Submit TX (is tx submitted?)
  3. Wait for Result (has the tx finalized?)

Points of interaction:

  1. Read call (getCount)
  2. Write call (incrementCounter)
  3. Single Transfer (1-1)
    1. ~Test with Predicate variant~
  4. Batch Transfer (1-N)
  5. Withdraw to base layer
  6. Mint
    1. ~Test with Predicate variant~

Contexts:

arboleya commented 2 weeks ago

A few possibly related refs/occurrences:

arboleya commented 1 week ago

Potentially nice tool to integrate: