-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks Fund admin pallet #44
Merged
sebastianmontero
merged 41 commits into
feature/benchmarks
from
feature/benchmark/fund-admin
Apr 22, 2024
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5a3978d
- Created a new file `benchmarking.rs` with skeleton structure that w…
didiermis bdfb04b
- Added ./pallets/fund-admin/Cargo.toml to rust-analyzer linked proje…
didiermis 7c0cafd
Updated pallet_fund_admin::Config implementation in mock.rs to use pa…
didiermis 089044d
- Updated source URLs in Cargo.lock to use git protocol instead of ht…
didiermis e36ce77
- Adjusted new_test_ext() function in mock.rs to remove an unnecessar…
didiermis 0cae64e
Added benchmark tests for the initial_setup, sudo_add_administrator, …
didiermis 5f3645d
Fixed import formatting in the tests module of the fund-admin pallet.…
didiermis 7f56909
- Added functions to generate a batch of users and initialize the pal…
didiermis 5a7762c
- Unused imports such as use frame_support::{parameter_types, traits:…
didiermis b71887b
A new conditional compilation block (#[cfg(feature = "runtime-benchma…
didiermis 941a6e3
Revised benchmarking code in benchmarking.rs for the create_array_use…
didiermis 3f6ee72
Introduced the users_edit_user benchmark function to test editing use…
didiermis af545a2
Updated the benchmarking code in benchmarking.rs for the generate_doc…
didiermis 8daf7c9
Updated the benchmarking code in benchmarking.rs to include a new fun…
didiermis 0ebcffe
pdated the benchmarking code in benchmarking.rs to refactor the user …
didiermis 63409c8
Added new functions create_basic_project and create_full_project to c…
didiermis d1b7692
Added benchmarking function projects_delete_project to test the proje…
didiermis 32edca0
Added benchmarking function projects_assign_user to test the projects…
didiermis 68e5874
- Updated create_array_expenditures function to accept an expenditure…
didiermis fe241ea
Enhanced the Fund Admin pallet benchmarking function to include drawd…
didiermis 5b57bd7
Enhanced the Fund Admin pallet benchmarking function with more compre…
didiermis f38d4c7
Updated format
didiermis e8c508a
Implemented enhancements in the benchmarking module of the Fund Admin…
didiermis 0b0ac66
Added a new benchmark 'up_bulkupload' to the Fund Admin pallet. This …
didiermis 46e2e1f
Extended the benchmarking module for the Fund Admin pallet by adding …
didiermis 8bad448
Increased the benchmarking functionality for the Fund Admin pallet by…
didiermis 2ad7323
Added a new benchmark test for the `approve_revenue` function in the …
didiermis 005c708
Added the benchmark test `reject_revenue` in the Fund Admin pallet wh…
didiermis 7dbe6bd
Reformatted the structure of `transaction` and `revenue_transaction` …
didiermis ce09abf
Introduced a new benchmark test function `reset_drawdown`. This funct…
didiermis 8fcd2c1
Added a new benchmark test function `recovery_drawdown`. This functio…
didiermis ec9aef3
Altered the `create_full_project` test data function to create two jo…
didiermis dc1fc2a
Reformatted a couple of lines in the `recovery_drawdown` and `recover…
didiermis ca60b2f
Refactored the `create_array_users` function in the fund-admin pallet…
didiermis 6cce738
Refactored the `create_array_job_eligibles` function in the fund-admi…
didiermis 880610b
Refactored the `reject_drawdown` function in the fund-admin benchmark…
didiermis b64d6b3
Updated the `reject_revenue` benchmark function in the fund-admin ben…
didiermis 33335fb
Added bound to the fund-admin benchmarks to allow for u64 balances.
sebastianmontero b2c3a40
Simplified fund-admin benchmarks
Dreyhh 06ade91
Merge branch 'feature/benchmarks' into feature/benchmark/fund-admin
Dreyhh 76bc2dc
Generated weights file for fund-admin pallet, updated fund-admin extr…
Dreyhh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"rust-analyzer.linkedProjects": [ | ||
"./pallets/afloat/Cargo.toml", | ||
"./pallets/rbac/Cargo.toml", | ||
"./pallets/gated-marketplace/Cargo.toml", | ||
"./pallets/fruniques/Cargo.toml", | ||
], | ||
"rust-analyzer.showUnlinkedFileNotification": false | ||
"rust-analyzer.linkedProjects": [ | ||
"./pallets/afloat/Cargo.toml", | ||
"./pallets/rbac/Cargo.toml", | ||
"./pallets/gated-marketplace/Cargo.toml", | ||
"./pallets/fruniques/Cargo.toml", | ||
], | ||
"rust-analyzer.showUnlinkedFileNotification": false | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 9c9e29 - ecd384:
Error: couldn't generate summary