react-native-community / jsc-android-buildscripts

Script for building JavaScriptCore for Android (for React Native but not only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve the benchmarks

DanielZlotin opened this issue · comments

Some suggestions by matthargett:

  1. hash-map from Jetstream is a throughput benchmark, where TTI is usually limited by latency. (Enabling JIT will typically increase latency and therefore TTI.) Using code-first-load and code-multi-load from JetStream might be a better choice.
  2. Octane is purely throughput based, and JetStream contains its relevant benchmarks. It's been deprecated since the use cases it captures that aren't in JetStream are from a bygone era of brower-based JS patterns. Adding in the JetStream version of an Octane benchmark (like Typescript) might be a better choice.
  3. Sunspider benchmarks that are still relevant to modern JS are included in JetStream. If you wanted to include tests relevant to RN, date-format-tofte and date-format-xparb might be good candidates.