The cache seems to be working for me. Compiling dashboard with lzc takes 20 seconds without it, and 6 second with --keepscriptcache enabled.

The startup time for the JVM is not neglible though. We ought to have a mode where it doesn't exit the JVM, like buildlfc does. Wouldn't need to use the icky disk-based script cache that way either..




On 11/18/05, Henry Minsky <[EMAIL PROTECTED]> wrote:
I'll take a look, maybe the caching is broken somehow.



On 11/18/05, Scott Evans <[EMAIL PROTECTED] > wrote:
Yah, I have that in the command line I listed below. :)  I added
"--mcache on" as well, but that didn't seem to make a difference...


gse


On Fri, 18 Nov 2005, Henry Minsky wrote:

> lzc also flushes the script (compiler) cache by default every time it is
> run. You can suppress that behavior by adding this arg to lzc
>
> --keepscriptcache ( I think it is called)
>
>
>
> On 11/18/05, Pablo Kang < [EMAIL PROTECTED]> wrote:
> >
> > You're probably taking a hit with the JVM loading every time you run lzc.
> >
> > pablo
> >
> > On Fri, 18 Nov 2005, Scott Evans wrote:
> >
> > > I'm in the midst of moving our build process to use lzc and produce a
> > > standalone .swf file every time -- instead of doing the in-place type of
> > > recompiles that you get through the OLS.
> > >
> > > But what I'm seeing so far is that rebuilds seem slower than they do
> > > through a browser. *Something* is pegging the CPU for a while during the
> > > process, even if no files have changed. My source files get replaced on
> > > the disk (we shuttle all our files off to a build location), but I keep
> > > their timestamps, so as far as caching mechanisms go, the files should
> > > look identical.
> > >
> > > My lzc invocation is:
> > > lzc --mcache on --keepscriptcache --runtime=swf7 main.lzx
> > >
> > > Ideas?
> > >
> > >
> > >
> > > gse
> > > _______________________________________________
> > > Laszlo-user mailing list
> > > [email protected]
> > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> > >
> > _______________________________________________
> > Laszlo-user mailing list
> > [email protected]
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> >
>
>
>
> --
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>



--

Henry Minsky
Software Architect
[EMAIL PROTECTED]




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to