Skip to content

Commit

Permalink
gas: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Dec 16, 2024
1 parent ba1eb1b commit e62eea1
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
QueryProcessorTest:testFindNearestSample_CanFindExactValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 69346655, ~: 77609208)
QueryProcessorTest:testFindNearestSample_CanFindIntermediateValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 68543228, ~: 79116352)
QueryProcessorTest:testFindNearestSample_CanFindExactValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 69006651, ~: 78950566)
QueryProcessorTest:testFindNearestSample_CanFindIntermediateValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 67181426, ~: 77952295)
QueryProcessorTest:testFindNearestSample_NotInitialized() (gas: 1056944146)
QueryProcessorTest:testFindNearestSample_OneSample(uint256) (runs: 256, μ: 80616, ~: 80652)
QueryProcessorTest:testFindNearestSample_OneSample(uint256) (runs: 256, μ: 80622, ~: 80652)
QueryProcessorTest:testGetInstantValue() (gas: 124418)
QueryProcessorTest:testGetInstantValue_NotInitialized(uint256) (runs: 256, μ: 19400, ~: 19400)
QueryProcessorTest:testGetInstantValue_NotInitialized_BeyondBufferSize(uint8,uint16) (runs: 256, μ: 69204580, ~: 69204518)
QueryProcessorTest:testGetPastAccumulator_BufferEmpty(uint8) (runs: 256, μ: 26924, ~: 26984)
QueryProcessorTest:testGetPastAccumulator_ExactMatch(uint32,uint256,uint256,uint16) (runs: 256, μ: 72682544, ~: 81531531)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_LatestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 68758613, ~: 78200508)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_OldestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 68788530, ~: 78232275)
QueryProcessorTest:testGetPastAccumulator_ExtrapolatesBeyondLatest(uint32,uint256,uint256,uint256) (runs: 256, μ: 68516846, ~: 79087659)
QueryProcessorTest:testGetPastAccumulator_InterpolatesBetweenPastAccumulators(uint32,uint256,uint256,uint256) (runs: 256, μ: 68551120, ~: 79122644)
QueryProcessorTest:testGetPastAccumulator_InvalidAgo(uint32,uint256,uint256,uint256) (runs: 256, μ: 68508419, ~: 79079427)
QueryProcessorTest:testGetPastAccumulator_QueryTooOld(uint32,uint256,uint256,uint256) (runs: 256, μ: 68519893, ~: 79089343)
QueryProcessorTest:testGetTimeWeightedAverage(uint32,uint256,uint256,uint256,uint256) (runs: 256, μ: 105844256, ~: 111488003)
QueryProcessorTest:testGetInstantValue_NotInitialized_BeyondBufferSize(uint8,uint16) (runs: 256, μ: 69204610, ~: 69204518)
QueryProcessorTest:testGetPastAccumulator_BufferEmpty(uint8) (runs: 256, μ: 26921, ~: 26984)
QueryProcessorTest:testGetPastAccumulator_ExactMatch(uint32,uint256,uint256,uint16) (runs: 256, μ: 71299667, ~: 79601317)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_LatestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 69601383, ~: 77006769)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_OldestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 69631465, ~: 77038536)
QueryProcessorTest:testGetPastAccumulator_ExtrapolatesBeyondLatest(uint32,uint256,uint256,uint256) (runs: 256, μ: 67155174, ~: 77923691)
QueryProcessorTest:testGetPastAccumulator_InterpolatesBetweenPastAccumulators(uint32,uint256,uint256,uint256) (runs: 256, μ: 67189366, ~: 77958587)
QueryProcessorTest:testGetPastAccumulator_InvalidAgo(uint32,uint256,uint256,uint256) (runs: 256, μ: 67146760, ~: 77915383)
QueryProcessorTest:testGetPastAccumulator_QueryTooOld(uint32,uint256,uint256,uint256) (runs: 256, μ: 67158275, ~: 77925299)
QueryProcessorTest:testGetTimeWeightedAverage(uint32,uint256,uint256,uint256,uint256) (runs: 256, μ: 100879462, ~: 107747925)
QueryProcessorTest:testGetTimeWeightedAverage_BadSecs() (gas: 10981)
ReservoirPriceOracleTest:testClearRoute() (gas: 52358)
ReservoirPriceOracleTest:testClearRoute_AllWordsCleared() (gas: 160260)
ReservoirPriceOracleTest:testDesignatePair() (gas: 29133)
ReservoirPriceOracleTest:testDesignatePair_IncorrectPair() (gas: 21174)
ReservoirPriceOracleTest:testDesignatePair_NotOwner() (gas: 17537)
ReservoirPriceOracleTest:testDesignatePair_TokenOrderReversed() (gas: 30736)
ReservoirPriceOracleTest:testGetQuote(uint256,uint256) (runs: 256, μ: 33766, ~: 33869)
ReservoirPriceOracleTest:testGetQuote(uint256,uint256) (runs: 256, μ: 33774, ~: 33869)
ReservoirPriceOracleTest:testGetQuote_AmountInTooLarge() (gas: 12952)
ReservoirPriceOracleTest:testGetQuote_BaseIsVault(uint256) (runs: 256, μ: 401414, ~: 401176)
ReservoirPriceOracleTest:testGetQuote_BaseIsVault(uint256) (runs: 256, μ: 401427, ~: 401176)
ReservoirPriceOracleTest:testGetQuote_ComplicatedDecimals() (gas: 10362427)
ReservoirPriceOracleTest:testGetQuote_ERC4626AssetFails() (gas: 21389)
ReservoirPriceOracleTest:testGetQuote_Inverse(uint256,uint256) (runs: 256, μ: 35936, ~: 36108)
ReservoirPriceOracleTest:testGetQuote_Inverse(uint256,uint256) (runs: 256, μ: 35952, ~: 36108)
ReservoirPriceOracleTest:testGetQuote_MultipleHops() (gas: 112160)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_Inverse() (gas: 112386)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_PriceZero() (gas: 122794)
ReservoirPriceOracleTest:testGetQuote_NoFallbackOracle() (gas: 20785)
ReservoirPriceOracleTest:testGetQuote_PriceZero() (gas: 15919)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_1HopRoute(uint256,uint256,address,address,uint8,uint8) (runs: 256, μ: 5229864, ~: 5229880)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_2HopRoute(uint256,uint256,uint256,address,address,address,uint8,uint8,uint8) (runs: 256, μ: 10377461, ~: 10377544)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_1HopRoute(uint256,uint256,address,address,uint8,uint8) (runs: 256, μ: 5229872, ~: 5229880)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_2HopRoute(uint256,uint256,uint256,address,address,address,uint8,uint8,uint8) (runs: 256, μ: 10377471, ~: 10377571)
ReservoirPriceOracleTest:testGetQuote_SameBaseQuote(uint256,address) (runs: 256, μ: 8971, ~: 8971)
ReservoirPriceOracleTest:testGetQuote_UseFallback() (gas: 38209)
ReservoirPriceOracleTest:testGetQuote_ZeroIn() (gas: 36679)
ReservoirPriceOracleTest:testGetQuotes(uint256,uint256) (runs: 256, μ: 26345, ~: 26448)
ReservoirPriceOracleTest:testGetQuotes(uint256,uint256) (runs: 256, μ: 26353, ~: 26448)
ReservoirPriceOracleTest:testName() (gas: 9311)
ReservoirPriceOracleTest:testPriceCache_Inverted() (gas: 22091)
ReservoirPriceOracleTest:testSetFallbackOracle_NotOwner() (gas: 10928)
Expand All @@ -57,30 +57,30 @@ ReservoirPriceOracleTest:testSetRoute_ReplaceExistingSimpleWithComposite() (gas:
ReservoirPriceOracleTest:testSetRoute_SameToken() (gas: 13020)
ReservoirPriceOracleTest:testUndesignatePair() (gas: 30285)
ReservoirPriceOracleTest:testUndesignatePair_NotOwner() (gas: 15315)
ReservoirPriceOracleTest:testUpdatePrice_AboveThresholdBelowMaxReward(uint256) (runs: 256, μ: 162405, ~: 162426)
ReservoirPriceOracleTest:testUpdatePrice_AboveThresholdBelowMaxReward(uint256) (runs: 256, μ: 162400, ~: 162426)
ReservoirPriceOracleTest:testUpdatePrice_BelowThreshold(uint256) (runs: 256, μ: 149819, ~: 149851)
ReservoirPriceOracleTest:testUpdatePrice_BeyondMaxReward(uint256) (runs: 256, μ: 159740, ~: 159694)
ReservoirPriceOracleTest:testUpdatePrice_BeyondMaxReward(uint256) (runs: 256, μ: 159761, ~: 159835)
ReservoirPriceOracleTest:testUpdatePrice_FirstUpdate() (gas: 153341)
ReservoirPriceOracleTest:testUpdatePrice_IntermediateRoutes() (gas: 11082572)
ReservoirPriceOracleTest:testUpdatePrice_NoPath() (gas: 15942)
ReservoirPriceOracleTest:testUpdatePrice_PriceOutOfRange() (gas: 5374118)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ContractNoReceive() (gas: 150542)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_InsufficientReward(uint256) (runs: 256, μ: 208851, ~: 208930)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_InsufficientReward(uint256) (runs: 256, μ: 208872, ~: 209191)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ZeroRecipient() (gas: 144199)
ReservoirPriceOracleTest:testUpdatePrice_WriteToNonSimpleRoute() (gas: 502364)
ReservoirPriceOracleTest:testUpdateRewardGasAmount() (gas: 19117)
ReservoirPriceOracleTest:testUpdateRewardGasAmount_NotOwner() (gas: 10987)
ReservoirPriceOracleTest:testUpdateTwapPeriod(uint256) (runs: 256, μ: 21712, ~: 21778)
ReservoirPriceOracleTest:testUpdateTwapPeriod_InvalidTwapPeriod(uint256) (runs: 256, μ: 17838, ~: 18066)
ReservoirPriceOracleTest:testUpdateTwapPeriod(uint256) (runs: 256, μ: 21699, ~: 21778)
ReservoirPriceOracleTest:testUpdateTwapPeriod_InvalidTwapPeriod(uint256) (runs: 256, μ: 17869, ~: 18066)
ReservoirPriceOracleTest:testValidatePair_NoDesignatedPair() (gas: 119160)
ReservoirPriceOracleTest:testWritePriceCache(uint256) (runs: 256, μ: 30076, ~: 29838)
ReservoirPriceOracleTest:testWritePriceCache(uint256) (runs: 256, μ: 30089, ~: 29838)
RoutesLibTest:testGetDecimalDifference() (gas: 3966)
RoutesLibTest:testIsCompositeRoute() (gas: 4332)
RoutesLibTest:testPackSimplePrice(int8,uint64,uint256) (runs: 256, μ: 8167, ~: 7915)
RoutesLibTest:testPackSimplePrice(int8,uint64,uint256) (runs: 256, μ: 8159, ~: 7915)
SamplesTest:testAccumulator() (gas: 3930)
SamplesTest:testAccumulator_BadVariableRequest() (gas: 3355)
SamplesTest:testInstant() (gas: 3880)
SamplesTest:testInstant_BadVariableRequest() (gas: 3376)
UtilsTest:testCalcPercentageDiff_Double(uint256) (runs: 256, μ: 7055, ~: 6836)
UtilsTest:testCalcPercentageDiff_Half(uint256) (runs: 256, μ: 7230, ~: 7432)
UtilsTest:testCalcPercentageDiff_NoDiff(uint256) (runs: 256, μ: 6836, ~: 6622)
UtilsTest:testCalcPercentageDiff_Half(uint256) (runs: 256, μ: 7235, ~: 7432)
UtilsTest:testCalcPercentageDiff_NoDiff(uint256) (runs: 256, μ: 6838, ~: 6622)

0 comments on commit e62eea1

Please sign in to comment.