I am a big fan of JSROOT and in particular how it can be used to inspect ROOT data/histograms inside
Visual-Studio Code!
Generally, JSROOT works really well when trying to visualize small datasets. However, it seems that it has problems to treat even moderately large ROOT files or TTrees (say some 10MB compressed). Trying to draw a histogram from such files often leads to a hang with a TTree draw 0% message where no progress is visible/made for hours.
Is this something to be expected? Are there any hard limits or could the user do some tuning here?
ROOT Version: 6.28.02
JSROOT: version 7.2.0
Platform: Ubuntu 22.04
I did some more experimentation also with the JSRoot plugin in Cernbox. The problem seems to be browser dependent. I find that it
a) doesn’t work on Chrome Version or Chromium (and hence VisualStudio Code which is probably chromium based) - neither on Mac nor on Ubuntu; Mac version is 113.0.5672.126 (Official Build) (arm64)
Because of current cernbox limitations it is very inefficient to use it for large files.
As it is now, any ROOT file need to be completelty download by JSROOT before it can be used.
Well, you write “any ROOT file need to be completelty download”, so it is not specific to CERNBox (i.e., using any server will behave the same way, or do I get it wrong).
Yes, any server which does not accept or hide Ranges from http requests - will behave that way.
Therefore I put workaround in JSROOT - I saw such problem before several times.