News for hackers. Stuff that matters.
Re:Latest Android Runtime (ART) update led to apps starting ... by dmitrygr on Monday August 21, 2023 @02:55PM (#37213811)
My man…if only you knew

6 years ago an intern in chromeOS using Gem5 found an optimization in how Android’s ART emits code that would help all in-order arm cores(a-5x) to the tune of 10%. A simple fix. He prototyped it. It worked. Fix was a dozen lines. It never shipped…

Re:Latest Android Runtime (ART) update led to apps starting ... by doomslice on Monday August 21, 2023 @03:12PM (#37213998)
You gotta save that optimization for when performance ends up on a top level OKR!
Re:Latest Android Runtime (ART) update led to apps starting ... by refulgentis on Monday August 21, 2023 @04:09PM (#37214700)
Lol. All of my time at G is summed up very elegantly here.
Re:Latest Android Runtime (ART) update led to apps starting ... by codethief on Monday August 21, 2023 @04:37PM (#37215035)
What's the reason it never shipped?
Re:Latest Android Runtime (ART) update led to apps starting ... by dimator on Monday August 21, 2023 @06:25PM (#37216161)
I love how people say things like "it never shipped" and assume it was all just political or nefarious or ineptitude.

I can guarantee that there was a huge thread about this in the bug, and it was not as simple as "nah don't ship it". There are many technical reasons/tradeoffs involved, and sometimes perfectly reasonable improvements are not possible. That's at every software org.

Re:Latest Android Runtime (ART) update led to apps starting ... by dmitrygr on Monday August 21, 2023 @06:29PM (#37216201)
> I can guarantee

Really? Cause only one of us saw this whole thing through from start to end…

It boiled down to “stay in your lane, chromeOS team”.

Re:Latest Android Runtime (ART) update led to apps starting ... by refulgentis on Monday August 21, 2023 @06:43PM (#37216339)
I'll go ahead and vouch for it, I can't speak to the bug specifically, but everything they've said tracks, and I have a really funny similar story (different orgs).

It's odd, and not what I heard much about FAANG say 5 years ago, but it is what it is.

Among root causes:

- people hate tattletales

- everyone is overworked.

- no second-level manager has enough time or upside to run an investigation every time a first-level manager says "no they forgot about {concurrency|tps report v2.1|memory use}" and another first-level manager, not responsible for the code, says its fine.

- hell, your first-level manager doesn't have upside because it's just conflict. If you got someone knocking around for you, you got a good one.

EDIT: Here's a thread with similar tales. https://news.ycombinator.com/item?id=36853039

Re:Latest Android Runtime (ART) update led to apps starting ... by MBCook on Monday August 21, 2023 @07:23PM (#37216662)
I’ve seen this.

Speeding up X isn’t on their roadmap/plan.

Even though someone did the work, even with full tests/etc, integrating it will steal time from the testers. Even if it’s only 2h.

That means they might not hit the existing plan, even if it’s a 0.5% chance. So they won’t take the risk. After all, it’s not part of the plan.

So it goes on the backlog for when the roadmap is smaller than capacity (read: never). Because no one is going to push hard enough. That would waste capital needed to get the Blorp team to do the thing needed to complete stuff on your committed roadmap on time so you don’t get screwed and left holding the ball.

And all that is when operating in good faith, assuming the receiving team isn’t pulling NIH or some other nonsense.