Skip to content
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

Optimize unit tests #848

Merged
merged 15 commits into from
Sep 23, 2024
Merged

Optimize unit tests #848

merged 15 commits into from
Sep 23, 2024

Conversation

swatanabe
Copy link
Collaborator

@swatanabe swatanabe commented Sep 12, 2024

before after
t-Nft-test 33.11 sec 1.65 sec
t-Symbol-test 34.89 sec 2.08 sec
t-Tokens-test 90.30 sec 2.53 sec
t-psibase-tests 9.84 sec 1.63 sec

* @param flags must include at least either O_RDONLY or O_RDWR, and
* can also contain O_CREAT, O_EXCL, and O_TRUNC.
*/
TestChain(std::string_view path,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The meaning of the pub param should probably be added as doc comments above the relevant constructors.

@swatanabe swatanabe merged commit f53859d into main Sep 23, 2024
4 checks passed
@swatanabe swatanabe deleted the chain-open-mode branch September 23, 2024 17:27
@James-Mart James-Mart added the Dev Experience Related to the experience of developers label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Experience Related to the experience of developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants