Fritz,

> I am wondering what size to expect for the qooxdoo build cache.
>
> For one of our applications we get about 660 MB of cache. Which increases
> to
> about 1.2 GB when building another application.
>
> 1) Is this size what to expect?

Indeed, this is not unusual. Building all apps in the SDK, with Apiviewer
and Testrunner for the framework, the 1.5 cache is about 1.3GB of size.
For every class used in an app there are multiple syntax trees in the
cache (one for the unoptimized tree, others for the variant-optimized
trees), compiled versions of the class code, possibly for different sets
of optimizations, and other class information like its dependencies. The
trees alone can get big. Considering we have 700+ classes in the
framework, plus a couple of hundred application classes, this easily
amounts to a couple of thousands of cache objects.

But we have an issue open for this (bug#5241), so will look into it.

>
> 2) Are different applications using different cache files? If so, there is
>     no advantage in having the same cache for several apps, or is there?

Different class files have different cache files. So if you have two apps
that both use the same framework classes, they share the framework cache
objects. To be more exact, they share it if it is the same class (file
system path), using the same *variants* and the same *optimizations* (for
the compiled cache items). If any of those parameters differ, the cache
item cannot be shared.

But keep in mind that sharing is not only between different apps, but also
between different builds of the *same* application. This is another
important aspect of sharing. Re-building the same app would be much slower
without the cache.

T.



------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to