Interesting talk you can view here
and while we are talking about performance and its cost
look this post too
How we spent $30k in Firebase in less than 72 hours
and some comments on hacker news
One thing I could say is that I'm glad I could program stuff for the Flash Player and Adobe AIR
and never have to deal with actually splitting the code for performance reasons.
I had to do things for perf, but not at the code level, it was either assets loading/pre-loading,
or assets compression/optimisation, but the code? nope all fine.
Sadly that's what people overlook when they criticise Flash and/or AIR, it's how good and fast the runtime is.
The AVM2 will starts much much much faster than a Java VM, and yeah the bytecode will execute "less fast", but this fast start is quite important, exactly why when working with Redtamarin I can make it work as shell script, because it starts super damn fast.
See Flash Player ActionScript Virtual Machine
it is all explained there at 28:50
In the talk you can see when Adobe designed the AVM2 and ActionScript 3.0,
one of their constraint was "startup speed critical for interactive applications",
and all that ended up in Adobe AIR .