rooch-network / rooch

Fully on-chain Application Container with Move Language
https://rooch.network
Apache License 2.0
126 stars 53 forks source link

ci(bench): refactor benchmark configuration and update related files #1574

Closed popcnt1 closed 2 weeks ago

popcnt1 commented 2 weeks ago

Summary

This commit refactors the configuration of the benchmarking function, moving the setup code into a new config.rs file. The main focus of this commit is to streamline the configuration of benchmarks, making it easier to adjust settings for different benchmarks. It introduces a new BenchTxConfig struct for defining the benchmark configuration and uses it to replace the previous use of environment variables. This commit also modifies various files to match the new configuration method.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/G5XxTq3ChEEZ2RLZTicqFfcPewFB)) | [Visit Preview](https://rooch-git-fork-popcnt1-cibencharg-rooch.vercel.app) | | Apr 15, 2024 11:36am |