Browse documentation

The barometer also measures JSC with its JIT, for scale

Date: 2026-12-02 Area: performance, benchmarking, ci, website Related: refines ADR 0178 and ADR 0226

Context

ADR 0178 added JavaScriptCore to the AWFY and JetStream lanes as jsc, the shell run with --useJIT=false: its LLInt interpreter, an interpreter-class comparator. JIT-enabled Node.js is the only engine the barometer shows for scale, so JSC appears only without its JIT. Since ADR 0226 the barometer also measures Goccia with its JIT, which the Linux x86-64 build runs by default, and the maintainer asked for JSC with its JIT beside JSC without it.

The shell CI installs, Ubuntu's libjavascriptcoregtk-bin, has every JIT tier enabled (useBaselineJIT, useDFGJIT and useFTLJIT are on by default). On one x86-64 machine, the AWFY driver ran Richards, Bounce and NBody under the Ubuntu 24.04 package (2.52.6-0ubuntu0.24.04.2) with two repetitions: with its JIT the geomean was 12.4 times faster than with --useJIT=false, and 1.3 times faster than JIT-enabled Node.js v26.13.0.

Decision

Both lanes run jsc-jit. It is the same JavaScriptCore shell as jsc (the --jsc path), run with --useJIT=true. That is the shell's default; the flag is an argument so that every sample's recorded command shows the tier. Both JSC engines start without the driver's JSC_* variables, which the shell reads as options, so an inherited JSC_useJIT or tier option such as JSC_useFTLJIT cannot change what the command says, as Goccia's engines start without the driver's GOCCIA_JIT* and GOCCIA_OPT* settings. jsc-jit follows ADR 0178's protocol: the same flags, interleaved, in the alternating engine order. perf/awfy/manifest.json and perf/jetstream/manifest.json list it last in ciReport.engines. The drivers' defaults leave it out, as they leave out jsc, because a local machine may have no shell; a local run opts in with --engines ...,jsc-jit --jsc <path>.

It records its JavaScriptCore version like jsc. The driver writes the package version of the shell into the report's engine metadata, and the CI reports fail a report that measured jsc-jit without one, as they do for jsc.

It is shown for scale. QuickJS stays the only comparator target 1 counts, and jsc stays interpreter-class context. jsc-jit joins JIT-enabled Node.js as an outside reference. The PR comments give it a column after Node.js, labelled "JSC (JIT)". The barometer charts it relative to QuickJS as a line of its own, "JSC with JIT (for scale)". Daily summaries carry it as quickjsRatios.jscJit only: referenceRatios serves summaries from before ADR 0226, none of which measured it. The workload tables give Goccia with its JIT a ratio over each JSC mode.

Consequences

  • Every AWFY and JetStream trend line breaks where jsc-jit joins, because a new engine changes the alternating order every other engine runs in (ADR 0226). The JIT JSC line starts there, and earlier summaries have none.
  • Each AWFY job and JetStream workload runs one more engine, in the PR lanes as on main. A JIT engine's samples cost far less than Goccia's, which dominate both lanes, and no job installs anything new.
  • jsc and jsc-jit run one shell, so they always record the same version, and the barometer's existing break on a JSC version change covers both.