---
title: "Benchmark Mode in SpiderMonkey"
url: https://daily.dev/posts/benchmark-mode-in-spidermonkey-zfernfcgk
source_url: https://spidermonkey.dev/blog/2026/04/13/benchmark-mode.html
type: article
source: "SpiderMonkey"
published: 2026-04-13T13:30:28.852Z
updated: 2026-04-13T13:30:47.610Z
tags: ["javascript", "performance", "webassembly"]
reading_time: 1
upvotes: 7
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Benchmark Mode in SpiderMonkey

**[SpiderMonkey](https://daily.dev/sources/spidermonkey)** · 1 min read · 7 upvotes · 0 comments

## Summary

SpiderMonkey now has two new shell flags: --benchmark-mode and --strict-benchmark-mode. These flags consolidate multiple shell options needed for accurate benchmarking into a single command, reducing the risk of running benchmarks with incorrect configurations. The strict variant will abort if the environment is unsuitable for benchmarking (e.g., a debug build). The goal is to standardize benchmarking setup across the team and make it easy for anyone to run benchmarks correctly.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spidermonkey.dev/blog/2026/04/13/benchmark-mode.html>

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#performance](https://daily.dev/tags/performance), [#webassembly](https://daily.dev/tags/webassembly)

[View this post on daily.dev](https://daily.dev/posts/benchmark-mode-in-spidermonkey-zfernfcgk)
