#!/bin/sh
. "/opt/wpe-sfos/libexec/atlantic/runtime-common.sh"
ATLANTIC_LD_PRELOAD='/usr/lib64/wpe-compat/libsigill_skip.so:/usr/lib64/wpe-compat/libegl-stubs.so'
ATLANTIC_LD_LIBRARY_PATH='/usr/lib64/wpe-compat:/usr/lib64:/opt/wpe-sfos/lib'
atlantic_export_browser_env
# No CPU pin (was: taskset -c 4-7). The helper ELFs inherit the mask, so the
# pin confined the WHOLE browser — JSC JIT/GC workers, Skia raster, WebProcess
# main — to 4 of 8 cores while the little cluster idled. EAS up-migrates the
# hot threads to the big cores on its own; device A/B 2026-07-06: theverge
# DOMContentLoaded 8.7 s pinned (+ floor-stuck governor) -> 2.0 s unpinned.
exec /usr/bin/atlantic-browser.bin "$@"
