On Dec 5, 2012 3:52 PM, "Dietrich Ayala" <[email protected]> wrote:
>
> I keep hearing statements like "Any real app should switch to packaged,
because performance is far better".
>
> 1) Is this true? And how much better?

It is true yes, but I don't have numbers. I'm told the difference is
significant.

> 2) Why?

This is almost entirely because our appcache implementation is not that
great. I think in part it was written without taking performance into
accoutrements, in part it was written before we realized how truly evil
sync IO is.

However this is also due to packaged apps being a much simpler model. So
it's not surprising that it's easier to write a performant implementation.

> 3) What's the Web platform plan for fixing this? Is there one?

Unfortunately the appcache suffers from a.other problem than a slow gecko
implementation.

It's also hated by authors.

So my plan was to come up with an alternative spec proposal and then kill
two birds in one rewrite.

But I'be started to think that an alternative spec will take too long to
come up with even a draft for.

So what I think we should do is to do a rewrite which implements the
current spec, but that has better performance. We can fix some other
problems while we are at it, such as integrate with the soon-to-land quota
manager. This would allow us to get rid of the prompt and provide better
guarantees for apps.

I've started reaching out to people about this and I think we can get
started early next year.

Unlikely to make a v1.1 release. But hopefully a v2 release.

/ Jonas
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to