RunMat
  • Pricing
RunMat
GitHub
GitHub
DownloadSign InTry in Browser
DesktopRuntimeServer
RunMat

Run math blazing fast

GitHubX (Twitter)LinkedIn

Company

  • About
  • Pricing
  • Contact
  • License
  • Privacy

Learn

  • Docs
  • Blog
  • Benchmarks
  • RunMat vs MATLAB Online

Get product updates and release notes from the RunMat team.

© 2026 Dystr · Made withfor the scientific community.

RunMat™ is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

/
See all docs
Builtin Reference
    • fea.boundaryCondition
    • fea.compare
    • fea.domain
    • fea.field
    • fea.interface
    • fea.loadCase
    • fea.material
    • fea.materialAssignment
    • fea.model
    • fea.plan
    • fea.plot
    • fea.results
    • fea.run
    • fea.runOptions
    • fea.step
    • fea.study
    • fea.sweep
    • fea.trends
    • fea.validate

fea.compare — Compare two persisted RunMat FEA runs.

fea.compare(baselineRunId, candidateRunId) compares summary, status, quality, iteration, and timing evidence for two persisted RunMat FEA runs. This is a native RunMat API.

Syntax

comparison = fea.compare(baselineRunId, candidateRunId)

Inputs

NameTypeRequiredDefaultDescription
baselineRunIdStringScalarYes—Baseline persisted run id.
candidateRunIdStringScalarYes—Candidate persisted run id.

Returns

NameTypeDescription
resultAnyFEA object or operation result.

Errors

IdentifierWhenMessage
RunMat:fea:LoadFailedA .fea document cannot be read, parsed, or resolved.fea: failed to load FEA document
RunMat:fea:InvalidInputA builtin receives an unsupported argument pattern or object type.fea: invalid input
RunMat:fea:OperationFailedA validation, planning, run, result-query, comparison, or trend operation fails.fea: operation failed
RunMat:fea:InternalAn FEA object or operation result cannot be converted to a RunMat value.fea: internal error

How fea.compare works

  • Exactly two text run identifiers are required; fea.compare does not accept Name, Value options.
  • Both run identifiers are resolved before the results-comparison operation executes.
  • Count and count-delta fields are structural signed integers. Timing deltas remain binary64 physical measurements.
  • Numeric and resident numeric inputs have no role and are rejected before artifact-store access.

Example

Compare two persisted runs

comparison = fea.compare("run_baseline", "run_candidate");

Using fea.compare with coding agents

Open a RunMat example with live inputs, then ask the agent to explain how fea.compare changes the result.

Run a small fea.compare example, explain the result, then change one input and compare the output.

FAQ

Can comparison options follow the run identifiers?⌄

No. The current builtin accepts exactly two run identifiers and no options.

Related Fea functions

fea.boundaryCondition · fea.domain · fea.field · fea.interface · fea.loadCase · fea.material · fea.materialAssignment · fea.model · fea.plan · fea.plot · fea.results · fea.run · fea.runOptions · fea.step · fea.study · fea.sweep · fea.trends · fea.validate

Open-source implementation

Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how fea.compare is executed, line by line, in Rust.

  • View the source for fea.compare in Rust on GitHub
  • Learn how the RunMat runtime works
  • Found a bug? Open an issue with a minimal reproduction.

About RunMat

RunMat is an open-source runtime that executes MATLAB-syntax code blazing on any GPU. It is licensed under the Apache 2.0 license.

  • RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
  • Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.

Getting started · Benchmarks · Pricing

Download RunMat

Download RunMat for full performance, or use RunMat in your browser for zero setup.

Download RunMatOpen Sandbox
On this page
  • Syntax
  • Inputs
  • Returns
  • Errors
  • How fea.compare works
  • Example
  • Compare two persisted runs
  • Using fea.compare with coding agents
  • FAQ
  • Related Fea functions
  • Open-source implementation
  • About RunMat