Skip to content

Commit

Permalink
add changeset, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Mar 5, 2024
1 parent 53ac3fc commit 9ef35f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/smart-actors-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/gas-report": minor
---

Now uses `--isolate` flag in `forge test` for more accurate gas measurement.
2 changes: 1 addition & 1 deletion packages/gas-report/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pnpm gas-report --save gas-report.json
Or, if you have your own test command, you can pipe the output to `gas-report --stdin`:

```console
GAS_REPORTER_ENABLED=true forge test -vvv | pnpm gas-report --stdin
GAS_REPORTER_ENABLED=true forge test -vvv --isolate | pnpm gas-report --stdin
```

Run `pnpm gas-report --help` for more details.

0 comments on commit 9ef35f1

Please sign in to comment.