FilOzone / FilOzone/filecoin-services

misc: use fvm-anvil to run end-to-end performance benchmarks in CI

Open
#581 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Solidity
Stars
8
Forks
25
Avg merge
14h 38m
Merged PRs (30d)
12

Description

fvm-anvil allows us to measure the actual gas usage of our contracts.
I'm in the process of pushing a FWSS benchmark harness to fvm-anvil.
We could use it to measure the impact of our changes on FWSS gas usage in CI.
I'm not sure if it will be fast enough to do it on a per-commit basis.
Maybe a more limited set of benchmarks will be fast enough to run per commit, since the current set spans a parameter matrix (about 100 different runs).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the FWSS benchmark harness being pushed to fvm-anvil and the current CI setup. Determine whether the roughly 100-run parameter matrix can run per commit or whether a smaller benchmark set is needed. Done means CI measures and reports FWSS gas usage for an agreed benchmark scope without making per-commit runs too slow.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
ci-cd, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.