Skip to content

Proposal: Vendor mobx-state-tree #4938

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Proposal: Vendor mobx-state-tree #4938

wants to merge 12 commits into from

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Apr 4, 2025

This PR proposes 'vendoring' mobx-state-tree

The mobx-state-tree repo down-transpiles to es5 classes which are slower, and we can make things somewhat faster as a result of doing less transpiling

As an example, it has the nice effect of a 2x speed improvement on importing (8 seconds -> 3.7s with about 2,000 tracks). The full proper speedup for large tracklists may still be the 'frozen tracks' branch, but this PR is helpful in that regard

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented May 9, 2025

Likely if this PR did 'go through' I'd move the @jbrowse/mobx-state-tree outside of the monorepo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant