Skip to content

Commit

Permalink
gas: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Nov 28, 2024
1 parent da36afe commit 160196e
Showing 1 changed file with 75 additions and 72 deletions.
147 changes: 75 additions & 72 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,72 +1,75 @@
QueryProcessorTest:testFindNearestSample_CanFindExactValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 69038209, ~: 78939846)
QueryProcessorTest:testFindNearestSample_CanFindIntermediateValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 68311518, ~: 79140121)
QueryProcessorTest:testFindNearestSample_NotInitialized() (gas: 1056944146)
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, μ: 69204608, ~: 69204518)
QueryProcessorTest:testGetPastAccumulator_BufferEmpty(uint8) (runs: 256, μ: 26930, ~: 26984)
QueryProcessorTest:testGetPastAccumulator_ExactMatch(uint32,uint256,uint256,uint16) (runs: 256, μ: 73842560, ~: 83474413)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_LatestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 68671249, ~: 78734958)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_OldestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 68701118, ~: 78766725)
QueryProcessorTest:testGetPastAccumulator_ExtrapolatesBeyondLatest(uint32,uint256,uint256,uint256) (runs: 256, μ: 68285121, ~: 79111756)
QueryProcessorTest:testGetPastAccumulator_InterpolatesBetweenPastAccumulators(uint32,uint256,uint256,uint256) (runs: 256, μ: 68319459, ~: 79146413)
QueryProcessorTest:testGetPastAccumulator_InvalidAgo(uint32,uint256,uint256,uint256) (runs: 256, μ: 68276708, ~: 79102843)
QueryProcessorTest:testGetPastAccumulator_QueryTooOld(uint32,uint256,uint256,uint256) (runs: 256, μ: 68288213, ~: 79113100)
QueryProcessorTest:testGetTimeWeightedAverage(uint32,uint256,uint256,uint256,uint256) (runs: 256, μ: 103845966, ~: 112262763)
QueryProcessorTest:testGetTimeWeightedAverage_BadSecs() (gas: 10981)
ReservoirPriceOracleTest:testClearRoute() (gas: 52209)
ReservoirPriceOracleTest:testClearRoute_AllWordsCleared() (gas: 159631)
ReservoirPriceOracleTest:testDesignatePair() (gas: 29056)
ReservoirPriceOracleTest:testDesignatePair_IncorrectPair() (gas: 21148)
ReservoirPriceOracleTest:testDesignatePair_NotOwner() (gas: 17541)
ReservoirPriceOracleTest:testDesignatePair_TokenOrderReversed() (gas: 30605)
ReservoirPriceOracleTest:testGetQuote(uint256,uint256) (runs: 256, μ: 33696, ~: 33805)
ReservoirPriceOracleTest:testGetQuote_AmountInTooLarge() (gas: 12950)
ReservoirPriceOracleTest:testGetQuote_BaseIsVault(uint256) (runs: 256, μ: 401362, ~: 401124)
ReservoirPriceOracleTest:testGetQuote_ComplicatedDecimals() (gas: 10361834)
ReservoirPriceOracleTest:testGetQuote_Inverse(uint256,uint256) (runs: 256, μ: 35820, ~: 35987)
ReservoirPriceOracleTest:testGetQuote_MultipleHops() (gas: 111582)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_Inverse() (gas: 111900)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_PriceZero() (gas: 122208)
ReservoirPriceOracleTest:testGetQuote_NoFallbackOracle() (gas: 20776)
ReservoirPriceOracleTest:testGetQuote_PriceZero() (gas: 15930)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_1HopRoute(uint256,uint256,address,address,uint8,uint8) (runs: 256, μ: 5316035, ~: 5316010)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_2HopRoute(uint256,uint256,uint256,address,address,address,uint8,uint8,uint8) (runs: 256, μ: 10503497, ~: 10503613)
ReservoirPriceOracleTest:testGetQuote_SameBaseQuote(uint256,address) (runs: 256, μ: 8927, ~: 8927)
ReservoirPriceOracleTest:testGetQuote_UseFallback() (gas: 38244)
ReservoirPriceOracleTest:testGetQuote_ZeroIn() (gas: 36635)
ReservoirPriceOracleTest:testGetQuotes(uint256,uint256) (runs: 256, μ: 26240, ~: 26349)
ReservoirPriceOracleTest:testPriceCache_Inverted() (gas: 21949)
ReservoirPriceOracleTest:testSetFallbackOracle_NotOwner() (gas: 10928)
ReservoirPriceOracleTest:testSetRoute() (gas: 61014)
ReservoirPriceOracleTest:testSetRoute_InvalidRewardThreshold() (gas: 37278)
ReservoirPriceOracleTest:testSetRoute_InvalidRoute() (gas: 20106)
ReservoirPriceOracleTest:testSetRoute_InvalidRouteLength() (gas: 19253)
ReservoirPriceOracleTest:testSetRoute_MultipleHops() (gas: 201105)
ReservoirPriceOracleTest:testSetRoute_NotSorted() (gas: 13006)
ReservoirPriceOracleTest:testSetRoute_OverwriteExisting() (gas: 169482)
ReservoirPriceOracleTest:testSetRoute_SameToken() (gas: 13019)
ReservoirPriceOracleTest:testUndesignatePair() (gas: 30237)
ReservoirPriceOracleTest:testUndesignatePair_NotOwner() (gas: 15344)
ReservoirPriceOracleTest:testUpdatePrice_AboveThresholdBelowMaxReward(uint256) (runs: 256, μ: 164717, ~: 164737)
ReservoirPriceOracleTest:testUpdatePrice_BelowThreshold(uint256) (runs: 256, μ: 149562, ~: 149238)
ReservoirPriceOracleTest:testUpdatePrice_BeyondMaxReward(uint256) (runs: 256, μ: 162212, ~: 162240)
ReservoirPriceOracleTest:testUpdatePrice_FirstUpdate() (gas: 153342)
ReservoirPriceOracleTest:testUpdatePrice_IntermediateRoutes() (gas: 16283142)
ReservoirPriceOracleTest:testUpdatePrice_PriceOutOfRange() (gas: 5408263)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ContractNoReceive() (gas: 152501)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_InsufficientReward(uint256) (runs: 256, μ: 210795, ~: 211013)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ZeroRecipient() (gas: 146149)
ReservoirPriceOracleTest:testUpdateRewardGasAmount() (gas: 19038)
ReservoirPriceOracleTest:testUpdateRewardGasAmount_NotOwner() (gas: 10952)
ReservoirPriceOracleTest:testUpdateTwapPeriod(uint256) (runs: 256, μ: 21576, ~: 21667)
ReservoirPriceOracleTest:testUpdateTwapPeriod_InvalidTwapPeriod(uint256) (runs: 256, μ: 17701, ~: 17994)
ReservoirPriceOracleTest:testWritePriceCache(uint256) (runs: 256, μ: 30057, ~: 29819)
RoutesLibTest:testGetDecimalDifference() (gas: 3966)
RoutesLibTest:testIsCompositeRoute() (gas: 4332)
RoutesLibTest:testPackSimplePrice(int8,uint256) (runs: 256, μ: 8083, ~: 7862)
SamplesTest:testAccumulator() (gas: 3930)
SamplesTest:testAccumulator_BadVariableRequest() (gas: 3355)
SamplesTest:testInstant() (gas: 3880)
SamplesTest:testInstant_BadVariableRequest() (gas: 3376)
QueryProcessorTest:testFindNearestSample_CanFindExactValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 91248691, ~: 96711532)
QueryProcessorTest:testFindNearestSample_CanFindIntermediateValue(uint32,uint256,uint256,uint256) (runs: 256, μ: 90607414, ~: 96828584)
QueryProcessorTest:testFindNearestSample_NotInitialized() (gas: 1056946800)
QueryProcessorTest:testFindNearestSample_OneSample(uint256) (runs: 256, μ: 96842, ~: 96904)
QueryProcessorTest:testGetInstantValue() (gas: 146521)
QueryProcessorTest:testGetInstantValue_NotInitialized(uint256) (runs: 256, μ: 23265, ~: 23265)
QueryProcessorTest:testGetInstantValue_NotInitialized_BeyondBufferSize(uint8,uint16) (runs: 256, μ: 85399653, ~: 85399508)
QueryProcessorTest:testGetPastAccumulator_BufferEmpty(uint8) (runs: 256, μ: 33569, ~: 33672)
QueryProcessorTest:testGetPastAccumulator_ExactMatch(uint32,uint256,uint256,uint16) (runs: 256, μ: 96273323, ~: 105945368)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_LatestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 93181270, ~: 101444188)
QueryProcessorTest:testGetPastAccumulator_ExactMatch_OldestAccumulator(uint32,uint256,uint256) (runs: 256, μ: 93242374, ~: 101509778)
QueryProcessorTest:testGetPastAccumulator_ExtrapolatesBeyondLatest(uint32,uint256,uint256,uint256) (runs: 256, μ: 90553325, ~: 96770318)
QueryProcessorTest:testGetPastAccumulator_InterpolatesBetweenPastAccumulators(uint32,uint256,uint256,uint256) (runs: 256, μ: 90623575, ~: 96841969)
QueryProcessorTest:testGetPastAccumulator_InvalidAgo(uint32,uint256,uint256,uint256) (runs: 256, μ: 90538924, ~: 96754551)
QueryProcessorTest:testGetPastAccumulator_QueryTooOld(uint32,uint256,uint256,uint256) (runs: 256, μ: 90559688, ~: 96773416)
QueryProcessorTest:testGetTimeWeightedAverage_BadSecs() (gas: 13015)
ReservoirPriceOracleTest:testClearRoute() (gas: 69413)
ReservoirPriceOracleTest:testClearRoute_AllWordsCleared() (gas: 194885)
ReservoirPriceOracleTest:testDesignatePair() (gas: 34856)
ReservoirPriceOracleTest:testDesignatePair_IncorrectPair() (gas: 23725)
ReservoirPriceOracleTest:testDesignatePair_NotOwner() (gas: 19374)
ReservoirPriceOracleTest:testDesignatePair_TokenOrderReversed() (gas: 36863)
ReservoirPriceOracleTest:testGetQuote(uint256,uint256) (runs: 256, μ: 42388, ~: 42694)
ReservoirPriceOracleTest:testGetQuote_AmountInTooLarge() (gas: 14273)
ReservoirPriceOracleTest:testGetQuote_BaseIsVault(uint256) (runs: 256, μ: 518131, ~: 517657)
ReservoirPriceOracleTest:testGetQuote_ComplicatedDecimals() (gas: 13490628)
ReservoirPriceOracleTest:testGetQuote_ERC4626AssetFails() (gas: 23701)
ReservoirPriceOracleTest:testGetQuote_Inverse(uint256,uint256) (runs: 256, μ: 46610, ~: 46178)
ReservoirPriceOracleTest:testGetQuote_MultipleHops() (gas: 134813)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_Inverse() (gas: 135253)
ReservoirPriceOracleTest:testGetQuote_MultipleHops_PriceZero() (gas: 152500)
ReservoirPriceOracleTest:testGetQuote_NoFallbackOracle() (gas: 22718)
ReservoirPriceOracleTest:testGetQuote_PriceZero() (gas: 17835)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_1HopRoute(uint256,uint256,address,address,uint8,uint8) (runs: 256, μ: 6885479, ~: 6885358)
ReservoirPriceOracleTest:testGetQuote_RandomizeAllParam_2HopRoute(uint256,uint256,uint256,address,address,address,uint8,uint8,uint8) (runs: 256, μ: 13633870, ~: 13634024)
ReservoirPriceOracleTest:testGetQuote_SameBaseQuote(uint256,address) (runs: 256, μ: 10654, ~: 10654)
ReservoirPriceOracleTest:testGetQuote_UseFallback() (gas: 46078)
ReservoirPriceOracleTest:testGetQuote_ZeroIn() (gas: 46843)
ReservoirPriceOracleTest:testGetQuotes(uint256,uint256) (runs: 256, μ: 33769, ~: 34075)
ReservoirPriceOracleTest:testName() (gas: 10312)
ReservoirPriceOracleTest:testPriceCache_Inverted() (gas: 27380)
ReservoirPriceOracleTest:testSetFallbackOracle_NotOwner() (gas: 11966)
ReservoirPriceOracleTest:testSetRoute() (gas: 73783)
ReservoirPriceOracleTest:testSetRoute_InvalidRewardThreshold() (gas: 45074)
ReservoirPriceOracleTest:testSetRoute_InvalidRoute() (gas: 26799)
ReservoirPriceOracleTest:testSetRoute_InvalidRouteLength() (gas: 25265)
ReservoirPriceOracleTest:testSetRoute_MultipleHops() (gas: 237829)
ReservoirPriceOracleTest:testSetRoute_NotSorted() (gas: 15662)
ReservoirPriceOracleTest:testSetRoute_OverwriteExisting() (gas: 199977)
ReservoirPriceOracleTest:testSetRoute_SameToken() (gas: 15664)
ReservoirPriceOracleTest:testUndesignatePair() (gas: 37368)
ReservoirPriceOracleTest:testUndesignatePair_NotOwner() (gas: 16664)
ReservoirPriceOracleTest:testUpdatePrice_AboveThresholdBelowMaxReward(uint256) (runs: 256, μ: 212450, ~: 212495)
ReservoirPriceOracleTest:testUpdatePrice_BelowThreshold(uint256) (runs: 256, μ: 193585, ~: 192954)
ReservoirPriceOracleTest:testUpdatePrice_BeyondMaxReward(uint256) (runs: 256, μ: 208298, ~: 208353)
ReservoirPriceOracleTest:testUpdatePrice_FirstUpdate() (gas: 200053)
ReservoirPriceOracleTest:testUpdatePrice_IntermediateRoutes() (gas: 21079894)
ReservoirPriceOracleTest:testUpdatePrice_NoPath() (gas: 17953)
ReservoirPriceOracleTest:testUpdatePrice_PriceOutOfRange() (gas: 6998653)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ContractNoReceive() (gas: 192780)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_InsufficientReward(uint256) (runs: 256, μ: 264915, ~: 264240)
ReservoirPriceOracleTest:testUpdatePrice_RewardEligible_ZeroRecipient() (gas: 186672)
ReservoirPriceOracleTest:testUpdateRewardGasAmount() (gas: 20940)
ReservoirPriceOracleTest:testUpdateRewardGasAmount_NotOwner() (gas: 11961)
ReservoirPriceOracleTest:testUpdateTwapPeriod(uint256) (runs: 256, μ: 24115, ~: 24291)
ReservoirPriceOracleTest:testUpdateTwapPeriod_InvalidTwapPeriod(uint256) (runs: 256, μ: 19857, ~: 20332)
ReservoirPriceOracleTest:testValidatePair_NoDesignatedPair() (gas: 139101)
ReservoirPriceOracleTest:testWritePriceCache(uint256) (runs: 256, μ: 36820, ~: 36346)
RoutesLibTest:testGetDecimalDifference() (gas: 4852)
RoutesLibTest:testIsCompositeRoute() (gas: 5268)
RoutesLibTest:testPackSimplePrice(int8,uint256) (runs: 256, μ: 10185, ~: 9724)
SamplesTest:testAccumulator() (gas: 4537)
SamplesTest:testAccumulator_BadVariableRequest() (gas: 3862)
SamplesTest:testInstant() (gas: 4492)
SamplesTest:testInstant_BadVariableRequest() (gas: 3883)

0 comments on commit 160196e

Please sign in to comment.