> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

# Benchmarks

Performance comparison between Foundry releases.

<div style={{ marginBottom: '2rem' }}>
  <style>
    {`@keyframes bench-bar-grow{from{width:var(--bench-bar-from)}to{width:var(--bench-bar-to)}}`}
  </style>

  <h2 style={{ fontSize: '1.25rem', fontWeight: 600, marginBottom: '0.25rem' }}>Highlights</h2>
  <p style={{ fontSize: '0.875rem', color: 'var(--vocs-color_text3)', marginBottom: '1rem' }}>Aggregated change per benchmark category (sum of wallclock time across all repositories).</p>

  <div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', border: '1px solid rgba(255,255,255,0.1)', borderRadius: '8px', padding: '1rem', background: 'rgba(255,255,255,0.02)' }}>
    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Test <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 5 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>4m 12s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓27.1%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '72.90%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>3m 3.8s</span>
    </div>

    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Fuzz Test <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 5 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>3m 25s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓15.4%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '84.63%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>2m 54s</span>
    </div>

    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Test (Isolated) <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 5 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>4m 24s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓5.7%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '94.26%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>4m 8.5s</span>
    </div>

    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Build (No Cache) <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 5 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>5m 59s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓2.5%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '97.51%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>5m 50s</span>
    </div>

    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Build (With Cache) <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 5 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>0.97s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓33.9%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '66.08%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>0.64s</span>
    </div>

    <div style={{ display: 'grid', gridTemplateColumns: '1fr 3.5rem 4rem', columnGap: '0.75rem', rowGap: '0.25rem', alignItems: 'center' }}>
      <div style={{ gridColumn: '1 / -1', fontSize: '0.875rem', fontWeight: 600, marginBottom: '0.375rem' }}>Forge Coverage <span style={{ color: 'var(--vocs-color_text3)', fontWeight: 400 }}>· 4 repos</span></div>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ width: '100.00%', height: '100%', background: 'rgba(148, 163, 184, 0.25)', borderRadius: '4px' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: 'var(--vocs-color_text3)', fontVariantNumeric: 'tabular-nums', textAlign: 'right' }}>18m 53s</span>
      <span style={{ gridRow: 'span 2', justifySelf: 'start', fontSize: '0.75rem', fontWeight: 600, color: '#22c55e', background: 'rgba(34,197,94,0.15)', padding: '0.125rem 0.5rem', borderRadius: '9999px', fontVariantNumeric: 'tabular-nums' }}>↓5.1%</span>

      <div style={{ height: '0.75rem', borderRadius: '4px', overflow: 'hidden' }}>
        <div style={{ ['--bench-bar-from']: '100.00%', ['--bench-bar-to']: '94.87%', width: 'var(--bench-bar-to)', height: '100%', background: 'rgba(34, 197, 94, 0.85)', borderRadius: '4px', animation: 'bench-bar-grow 800ms ease-out' }} />
      </div>

      <span style={{ fontSize: '0.7rem', color: '#22c55e', fontVariantNumeric: 'tabular-nums', textAlign: 'right', fontWeight: 500 }}>17m 55s</span>
    </div>
  </div>
</div>

<div style={{ display: 'flex', gap: '2rem', marginBottom: '1.5rem', flexWrap: 'wrap' }}>
  <div>
    <span style={{ fontSize: '0.75rem', color: 'var(--vocs-color_text3)', textTransform: 'uppercase', letterSpacing: '0.05em' }}>Baseline</span>
    <div style={{ fontSize: '1.25rem', fontWeight: 600 }}>[v1.2.3](https://github.com/foundry-rs/foundry/releases/tag/v1.2.3)</div>
  </div>

  <div>
    <span style={{ fontSize: '0.75rem', color: 'var(--vocs-color_text3)', textTransform: 'uppercase', letterSpacing: '0.05em' }}>Latest</span>
    <div style={{ fontSize: '1.25rem', fontWeight: 600 }}>[master](https://github.com/foundry-rs/foundry/tree/master)</div>
  </div>
</div>
