JavaScript Engine Benchmark for React Native
MIT License
RN 0.62.2, JSC 250230, V8 8.0, Hermes 0.4.1
RN 0.60.3, JSC 245459, V8 7.5.1, Hermes 0.1.0
These benchmarks ran on Samsung Galaxy Note 5
RenderComponentThroughput
The series of test cases aim to measure how many React component could be rendered within some intervals.
The reason that have different interval is that to assume JIT will start to work after longer repetitive executions.
Higher result is better
The series of test cases aim to measure how long JS engine parse and evaluate the scripts.
TTI time is from the content_appear_view_time - before_start_ReactInstanceManager_time
.
In different test cases, we try to generate different size of JS bundle and compare if size matters.
Simply the comparion of library binary size and final APK size.
Prerequisites:
Simply to run
python start.py -a
This project is specific to measure JS engine performance for React Native. It is not designated to do generic JS engine comparison.
For example, on React Native Android, we don't enable all JIT tiers on JavaScriptCore. On V8, I am currently trying to use the JIT-less mode. What I am trying to do is balancing between good enough performance, low memory usage, and small binary size. That is why to disable JIT sometimes.