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

Speed up large FromConfigAdapter usages with alternative adapter id calculation #4138

Merged
merged 2 commits into from Dec 14, 2023

Conversation

cmdcolin
Copy link
Collaborator

Large FromConfigAdapter may be used for things like data frame tracks in jbrowse jupyter

Future usages of jbrowse-jupyter may create e.g. a custom adapter type, but this may help in the interim

@cmdcolin
Copy link
Collaborator Author

on second thought: this may not be an actual speed up. might need to develop a method for using dev versions of @jbrowse/react-linear-genome-view in dash_jbrowse, and then dev version of dash_jbrowse in jbrowse-jupyter

@cmdcolin cmdcolin changed the title Cache getRefNames from FromConfigAdapter for speed up with large number of features Remove json-stable-stringify for assembly adapter key in favor of smaller adapter cache key Dec 14, 2023
@cmdcolin
Copy link
Collaborator Author

re-fixed, and re-titled pr to reflect the new proper speedup

@cmdcolin cmdcolin changed the title Remove json-stable-stringify for assembly adapter key in favor of smaller adapter cache key Speed up large FromConfigAdapter usages with alternative adapter id calculation Dec 14, 2023
@cmdcolin cmdcolin merged commit ebd21d3 into main Dec 14, 2023
9 of 10 checks passed
@cmdcolin cmdcolin deleted the speed_up_fromconfig branch December 14, 2023 20:31
@cmdcolin cmdcolin added the enhancement New feature or request label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant