Skip to content

Faster startup#277

Open
thewhaleking wants to merge 8 commits intostagingfrom
feat/thewhaleking/faster-startup
Open

Faster startup#277
thewhaleking wants to merge 8 commits intostagingfrom
feat/thewhaleking/faster-startup

Conversation

@thewhaleking
Copy link
Collaborator

@thewhaleking thewhaleking commented Mar 2, 2026

Sends the initial init_runtime to a task, so it's not immediately blocking when the class is initialized

Using btcli w balance --wallet-name alice --network test as a benchmark:

This PR -- Before
4.6 Run 1 4.27
3.41 Run 2 3.86
3.4 Run 3 4.37
3.71 Run 4 3.92
3.5 Run 5 3.86
     
3.724 MEAN 4.056
3.5 MEDIAN 3.92

Speed improvement:

-- actual pct
MEAN 0.332 8.19%
MEDIAN 0.42 10.71%

@thewhaleking thewhaleking marked this pull request as ready for review March 2, 2026 13:54
@thewhaleking thewhaleking requested a review from a team March 2, 2026 13:54
@thewhaleking thewhaleking added run-bittensor-sdk-tests Runs Bittensor SDK tests. run-bittensor-cli-tests Runs BTCLI tests. labels Mar 2, 2026
@thewhaleking
Copy link
Collaborator Author

Unsure if the broken tests are related. Do not merge yet.

@ibraheem-abe
Copy link
Contributor

@thewhaleking Its because of the mismatch in mev-shield stuff in upstream vs btcli.

Once that get resolved we can get a good flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants