Skip to content

Feat(tests): View call profiling#250

Merged
joshuajbouw merged 3 commits into
developfrom
view-call-profiling
Aug 26, 2021
Merged

Feat(tests): View call profiling#250
joshuajbouw merged 3 commits into
developfrom
view-call-profiling

Conversation

@birchmd
Copy link
Copy Markdown
Member

@birchmd birchmd commented Aug 25, 2021

Related to #199

This PR gives a framework for profiling (measure near gas used) view calls in our tests. It also applies this to profile the one view call we currently do in tests, looking up ERC-20 balances.

In a future PR we can add more sophisticated view workflows, for example NFT pagination which is known to consume lots of gas.

@birchmd birchmd requested a review from joshuajbouw August 25, 2021 20:05
@birchmd birchmd requested a review from artob as a code owner August 25, 2021 20:05
@birchmd birchmd added the C-enhancement Category: New feature or request label Aug 25, 2021
@joshuajbouw joshuajbouw merged commit 5944651 into develop Aug 26, 2021
@joshuajbouw joshuajbouw deleted the view-call-profiling branch August 26, 2021 16:37
artob added a commit that referenced this pull request Sep 13, 2021
* ERC-20: change admin address (#184)
* Fix promise, broken in upstream (#227)
* Feat(tests): View call profiling (#250)
* Fix evm_bully feature enabling in Makefile (#252)
* Feat(benches): Profile NFT paginated view call (#253)
* Update CODEOWNERS (#255)
* Bump @openzeppelin/contracts from 4.1.0 to 4.3.1 in /etc/eth-contracts (#254)
* Bump tar from 4.4.15 to 4.4.19 in /etc/eth-contracts (#257)
* Upgrade nearcore dependencies to latest commit (#259)
* 1inch deploy benchmark (#261)

Co-authored-by: Dmitry Strokov <dmitry@aurora.dev>
Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Co-authored-by: Kirill <kirill@aurora.dev>
Co-authored-by: Michael Birch <michael@aurora.dev>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants