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

core, trie, rpc: speed up tests #28461

Merged
merged 7 commits into from
Nov 21, 2023
Merged

Commits on Nov 3, 2023

  1. rpc: make subscription test faster

    reduces time for TestClientSubscriptionChannelClose
    from 25 sec to < 1 sec.
    MariusVanDerWijden committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    b051500 View commit details
    Browse the repository at this point in the history
  2. trie: cache trie nodes for faster sanity check

    This reduces the time spent on TestIncompleteSyncHash
    from ~25s to ~16s.
    MariusVanDerWijden committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    c413663 View commit details
    Browse the repository at this point in the history
  3. core/forkid: speed up validation test

    This takes the validation test from > 5s to sub 1 sec
    MariusVanDerWijden committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    cb349b0 View commit details
    Browse the repository at this point in the history
  4. core/state: improve snapshot test run

    brings the time for TestSnapshotRandom from 13s down to 6s
    MariusVanDerWijden committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    be78565 View commit details
    Browse the repository at this point in the history
  5. accounts/keystore: improve keyfile test

    This removes some unnecessary waits and reduces the
    runtime of TestUpdatedKeyfileContents from 5 to 3 seconds
    MariusVanDerWijden committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    62a3291 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    08be7f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65bebf3 View commit details
    Browse the repository at this point in the history