sloptimize cloud

Performance monitoring for browser games.

sloptimize cloud collects hitches, jitter, GPU stalls and errors from every player's browser and from your game server. It groups them by cause across builds and sessions, and shows whether each fix worked.

Start free with GitHub Read the docs

How it works

  1. Install the package. npm install sloptimize. It records in the browser and on the server, and works on its own with no account.
  2. Create a project. Sign in with GitHub and name it. Mint its keys on the settings page: a publishable key for the browser, a secret key for the server and CLI.
  3. Send records. Add a cloud sink next to the recorder you already have:
    import { createRecorder, createErrorMonitor, createCloudSink } from 'sloptimize';
    const rec = createRecorder({ budgetFrameMs: 16.7 });
    createErrorMonitor(rec);
    const cloud = createCloudSink({ key: 'pk_live_…', endpoint: 'https://sloptimizejs.com/v1/ingest', build: BUILD_ID });
    // every ~2 s
    cloud.enqueue(rec.drainRecords());

What you get

Free for 5,000 incidents a month. See pricing. Source and integration guide on GitHub.