-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gas benchmarks for
TickMath
functions (#668)
* Add gas benchmarks for `TickMath` functions This commit introduces gas benchmarks for the functions `getSqrtPriceAtTick` and `getTickAtSqrtPrice` within the TickMath library. Additionally, a dependency on `GasSnapshot.sol` has been added to the `TickMath.t.sol` file. This will aid in evaluating the performance of these critical functions. * Fix incorrect threshold in `getTickAtSqrtPrice` test * Uncheck math in `TickMath` gas benchmarks
- Loading branch information
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
87496 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
233945 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters