Hunter MaciasSoftware engineer
  • OverviewPage
  • WorkPage
  • PublicationsPage
  • AboutPage
  • ResumePage
  • SpikeproofDeveloper platform
  • Raiders RundownAnalytics and media platform
  • Costco TravelEnterprise engineering
  • Introducing SpikeproofProject report
  • Email HunterContact

No. 01Developer platformPublic beta

Spikeproof

A desktop platform for performance engineering. Design a journey across your services as a graph, debug it request by request, run it under load with real browsers alongside, break it on purpose, and ship the same test to CI or a remote agent.

spikeproof.devDownload the beta

Journey StudioA journey laid out the way it runs: parallel requests side by side, decisions and failure paths where they happen, each service in its own colour. Recorded in Spikeproof against its bundled demo system.

Why it exists

The question engineers actually have about a system is rarely “how fast is this endpoint”. It is “what happens when real people use this”: a dozen services, called in a particular order, some at once, some conditionally, with a browser on the end.

Answering that normally means an API client, a load generator, a browser driver, a CI job and a spreadsheet, each with its own copy of the test. Spikeproof is one application where the same journey is designed, debugged, loaded, broken, explained and shipped to a pipeline.

What’s in it

A visual journey designer

Journeys are graphs of requests with parallel branches, conditions, retries, polling, datasets and values mapped from earlier responses. Services are imported from OpenAPI, Postman, Insomnia, HAR or cURL, with an address per environment.

A compiler and runner

The journey is compiled to a k6 run: steady, ramped or spiked, with real Chrome sessions alongside the API load. The app, the CLI and CI use the same compiler and reach the same verdicts.

Request-level debugging

One iteration puts a measured time and status on every step and shows what each request sent and received, with the reason when a mapped value fails to resolve.

Browser recording and replay

Record a browser flow, replay it, and run it beside the API load so front-end timing is measured under the same conditions.

A lab to break things in

It ships with a fictional shop of eleven services and a fault injector for latency, errors, timeouts and rate limits, so every feature can be tried on the loopback address before touching a real API.

Reports that explain

Findings in plain words: the slow step, the goals missed, what changed since the last comparable run, and a service map inferred from the tests themselves.

Portable packages

A test leaves the app as a versioned, digest-stamped package holding the steps, services and environments, and never a credential.

Remote execution

Send a run to a Jenkins agent as a signed bundle. The agent verifies it against your public key, fetches pinned tools if it has none, and returns results the app imports as a normal report.

Live runJourneys drawn moving through the services while virtual users ramp up, with observations written as the run goes.
The Spikeproof journey canvas: requests grouped by service with parallel branches, above a timeline of one debug iteration
Canvas and traceThe canvas groups steps by service; the trace underneath shows what overlapped in one debug pass.
A run report combining API load with real Chrome sessions and charting page timings against the load
Browsers under loadReal Chrome sessions run beside the API load and are reported together.
Two runs compared measurement by measurement with the regressed step selected
CompareBaseline against candidate, with a rule for when a difference is material.
Chaos LabThe bundled demo system can be broken on purpose: brownouts, duplicate charges, expiring tokens, long tails.
SystemsA map of services, dependencies and coverage, built from the evidence in the tests themselves.

Runs the way it’s drawn

A journey is a dependency graph, not a script. One scheduler runs it everywhere: in the debugger, in the generated k6 script, on a CI runner and on a Jenkins agent. A step starts as soon as every incoming connection has resolved. There are no waves and no barriers, so a fast branch never waits for a slow one, and tests check that the debugger and the load script make identical decisions.

Try both schedules. The requests cost the same either way; what changes is how much of the journey is spent waiting, which is the number a user feels.

  1. Start session40 ms
  2. Product details90 ms
  3. Live stock140 ms
  4. Price and promotions110 ms
  5. Reviews70 ms
  6. Add to cart60 ms
  7. Tax and shipping120 ms
  8. Authorize payment180 ms

540 ms end to end, against 810 ms one at a time. Nothing got faster; less of it waits.

A small model of the rule Spikeproof’s scheduler follows: a step starts when everything it needs has finished. The journey and its timings here are invented for the illustration.

Engineering

One runtime, three places

Conditions, percentage splits, joins, retries, polling and failure paths are implemented once and called from both the debugger and the compiled load script. Waits use timers, so a pause holds only its own path.

An execution service with a provider contract

The interface never spawns a load generator. It talks to an authenticated loopback worker, which validates the journey, enforces limits, persists a queued run, then hands it to a provider: local today, Jenkins for remote runs. Closing the window does not stop a run.

Supervised processes

Every launch writes its process record before spawn and a completion record before saving, with atomic renames. After a crash, startup reconciles what was running against what finished instead of guessing.

Versioned modules

A reusable sequence of steps has a working copy and immutable releases. A journey can follow the working copy, track the latest release, or pin one version, and every runtime resolves the reference the same way.

Generated data

Dates, identifiers, numbers and picks are produced by one engine at run time, in previews, debugging, browser replays, dataset rows and the load script alike, and can be derived from earlier responses.

Tested like a product

About 130,000 lines of TypeScript and 859 tests: unit tests, integration tests that run real k6 against loopback services, and browser tests of the interface. Next.js and React for the interface, Electron for the desktop shell.

The Spikeproof home screen: start a performance test, record a browser flow or try a request, above recent runs and tests
HomeThree ways in: set up a performance test from an API description, record a browser flow, or try a single request.

Architecture

The security model was designed first, because a tool that generates load and stores credentials has to pass a review before anyone may use it. Without an approved policy file only localhost is reachable. There is no telemetry and nothing updates itself.

A regression, found

The public demo runs against a fictional shop with eleven services and a fault injector. Two runs at the same load, one after a slowdown was planted in the inventory service.

The headline number barely tells the story: overall p95 went from 35 ms to 285 ms, and no request failed. The report attributes 87% of request time to one step, live stock, and marks the run failed the way a pipeline would see it.

One fault, four views of it

  • Live stock step, p95Before35.6 msAfter1,780 ms
  • All requests, p95Before35.3 msAfter284.8 ms
  • All requests, p99Before40 msAfter1,779.9 ms
  • Whole journey, p95Before3,987.2 msAfter5,224.4 ms
Two runs of a demo system at the same load, the second with a slowdown injected into one service. Overall p95 moved from 35 ms to 285 ms and missed its 250 ms goal; the step that caused it moved fifty-fold. Bars are on a log scale. Source: spikeproof.dev

In a pipeline

The same test runs from a command line. The app generates a pipeline for GitHub Actions, Jenkins or any shell that installs pinned tools, runs a preflight, runs the test and writes JUnit, JSON and Markdown. Exit codes separate the cases a pipeline cares about: passed, failed, invalid, blocked by policy, and didn’t run.

Where it stops

It is a public beta, at version 0.1.0-beta.6 after six releases. The builds are unsigned, so the operating system warns on first run. It runs on Apple silicon Macs and 64-bit Windows, not Linux or Intel Macs. A run can execute remotely on a Jenkins agent, but load comes from one machine at a time; there is no distributed load generation. It is single-user, with no accounts or shared server. The source is private and the builds are free.

Release notesAll work