-
Hi @cmdcolin, Ive been benchmarking static image generation functionality using the "@jbrowse/img" plugin, but was wondering how the performance of the plugin differs from the full JBrowse2 application? I was under the assumption that the img plugin and main application are essentially the same tool, and the performance of the plugin is representative of jbrowse2. I have been referring to using the "@jbrowse/img" plugin as using "JBrowse2", but I suppose this is not accurate. Would you be able to give any insight in to how the two differ, and guidance of how to describe the relationship between the two? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there sorry for the delayed response. Was vacationing:) It is hard to say exactly, if you wanted to refer to it as @jbrowse/img it would be most specific. you can see how it can be tricky to refer to things when we have a 'number of different jbrowse 2 products' with varying technical aspects here are some descriptions if it helps
generally the parallelism from webworkers is only used for multiple tracks in our codebase. each track is assigned a worker id in a worker pool. for a single bam track, there is no parallelism benefit. our paper details some of the ways i performance profiled the app. I instrumented the tests for our paper to use jbrowse-web which is what i thought was the most representative experience for a user would be. It is somewhat tedious to instrument but uses puppeteer and it just detects that some number of 'completed' DOM nodes are visible, corresponding to different 'blocks' that are all rendered independently (theres no "completed rendering" event emitted by jbrowse 2. might be good to add this though) https://github.com/GMOD/jb2profile/blob/master/profile_jb2web.js |
Beta Was this translation helpful? Give feedback.
Hi there sorry for the delayed response. Was vacationing:)
It is hard to say exactly, if you wanted to refer to it as @jbrowse/img it would be most specific. you can see how it can be tricky to refer to things when we have a 'number of different jbrowse 2 products' with varying technical aspects
here are some descriptions if it helps