Runtime depends on how a test is written and the state of the system under test.
A Momentic test that only aims for feature parity with Playwright or Cypress
runs at about the same speed. Thanks to step caching,
over 99% of steps execute in under 500ms:
Preset action
Average runtime
Click
250ms
Type
340ms
Choosing from a <select> element
275ms
Pressing a key
<5ms
Scroll
<5ms
Page check attempt
220ms
Element check attempt
210ms
Visual diff
620ms
AI-enhanced steps are slower on first run but most are cached for subsequent
runs. Approximate first-time runtimes:
We have published a basic benchmark comparing Momentic against Playwright in
this publicly accessible test automation
environment.The results illustrate that cached Momentic steps are only 52ms slower on
average than comparable Playwright functions. Non-cached steps that require AI
to execute run on average 6354ms slower. Over 99% of all steps executed on
the Momentic platform are cached.Note that this benchmark does not exhaustively test all Momentic step types,
many of which do not have analogs in Playwright, Cypress, or any traditional
tooling (e.g. AI check, Visual diff).
We built a Momentic test that logs into the practice automation site, as well as
an equivalent Playwright script that performs the same sequence of actions. We
obtained three different sets of measurements:
The “Steps only” category only measures the time spent executing steps in both
software.
The “End-to-end” category includes Momentic’s fixed bootstrap (e.g. API key
check) and test result upload times. For Playwright, the end-to-end time
includes CLI initialization time but does not involve any upload of data.
The “First-run” category ran with caching explicitly disabled and thus
includes the runtime of 4 fresh AI completions.
All measurements were completed on a M3 Max Macbook Pro with 36GB RAM running
macOS Sonoma.