> *Suspicion #1*: Its the large number of files in the source option in a
> buster config group that is being preloaded.
> For example, the sources option would just be ['scripts/*.js'] and the
> scripts folder has A LOT of files. Like 12720 files, which could include
> js, css, images, markdown, and what not. Just imagine including the
> node_modules folder that has 10 or 15 modules and their dependencies. But
> the glob is only including *.js, which should shrink the number of files,
> but it's still a lot considering it's mainly JS in the scripts folder.
In my experience, the glob resolution in
buster-configuration/ramp-resources has been unnecessarily slow. I would
guess that some of at least lies here.
>
> *Suspicion #2*: It's the communication between ramp and the other
> browsers.
I'm not convinced this is a problem.
>
> *Suspicion #3*: Combination of both ramp communication and reading of the
> large number of files.
>
> Is there any option I may have missed when running tests? I've tried flags
> like release-console, static-paths, and full-stacks but the results are the
> same.
>
> I've tried switching from sources to resources and the behavior seems to be
> the same regardless of option.
>
> I've played with buster-static and that actually seems to be much faster.
> Correct me, but all the libs/sources/resources are loaded when requested
> instead of being preloaded right? Maybe the sources and resources don't
> need to be preloaded for buster-test?
The files will all be read from disk and shipped to the server on the
first run. From there on, they should be cached (so long as you keep the
server running), and only changed files should be read again. However,
like I mentioned, I have experienced that the globbing (which always
need to be done, in case new files etc), occasionally take too long.
I'm sorry I don't have much concrete info for you at this point. But
after having been stuck with Karma/Jasmine at work for a short while, I
can assure you that I will be continuing work on Buster in the near
future. Almost all my spare time has been allocated to recording an
album the past two months, and we're soon done with that.
Christian
>
> -Garrick-