React Native build woke CPU 3,543 times a minute at idle; PAM Native managed 130
Engineers measured a chat app called Zé Chat on a Galaxy S10 at idle, comparing a React Native build with one built on PAM Native. The React Native version woke the CPU about 3,543 times per minute with a static screen, while the PAM build woke it 130 times. The gap persisted in the background, where the React Native build used 5.26% CPU versus 0.11% for PAM, which the authors attribute to a JavaScript runtime that keeps running. The React Native build also drained more battery over 10 idle minutes and used more memory at rest. The authors note that PAM still does not reach zero wakeups, but argue its design, which lacks a JavaScript runtime and only processes work after user input, explains the difference.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in