Skip to content

Add Arker to the sandbox benchmarks - #271

Open
aatishparson-arker wants to merge 1 commit into
computesdk:masterfrom
aatishparson-arker:add-arker-provider
Open

Add Arker to the sandbox benchmarks#271
aatishparson-arker wants to merge 1 commit into
computesdk:masterfrom
aatishparson-arker:add-arker-provider

Conversation

@aatishparson-arker

@aatishparson-arker aatishparson-arker commented Jul 31, 2026

Copy link
Copy Markdown

Adds Arker to the sandbox benchmarks.

Forks ubuntu-small for the TTI benchmark; dax overrides it to ubuntu-full-8 via DAX_RESOURCE_OPTIONS for the standardized 8 vCPU / 16 GiB profile.

Arker selects hardware via platforms on the provider factory rather than a sandbox.create() option, so — like lightning's instanceType — it is set from the dax workflow env (ARKER_PLATFORMS=graviton4); elsewhere the platform is chosen automatically.

The runner skips a provider whose requiredEnvVars are unset, so this stays inert until an ARKER_API_KEY secret is added. The key is read through load-vault-secrets.sh like every other provider's.

Requires @computesdk/arker >= 0.1.2 (now published) — 0.1.1's runCommand threw against the current @arker-ai/sdk. Fixed in computesdk/computesdk#683.

Measured against production, driven from us-east-1:

benchmark golden shape result
TTI ubuntu-small 1 vCPU / 388 MiB / aarch64 381 ms
dax ubuntu-full-8 8 vCPU / 16 GiB / aarch64 57.2 s, 8/8 phases parsed

Notes for reviewers

  • Disclosure: I work for Arker.
  • Snapshots via fork: create({ snapshotId }) branches an existing VM by id; create({ templateId }) forks a golden by name.
  • Happy to provide API credentials for the daily benchmarks once merged.

Open in Devin Review

@open-cla

open-cla Bot commented Jul 31, 2026

Copy link
Copy Markdown

Contributor License Agreement

All contributors are covered by a CLA.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread benchmarks/sandbox/providers.ts
Forks `ubuntu-small` for the regular benchmark; dax overrides it to
`ubuntu-full-8` via DAX_RESOURCE_OPTIONS for the standardized 8 vCPU / 16 GiB
profile.

Arker selects hardware via `platforms` on the provider factory rather than a
sandbox.create() option, so like lightning's instanceType it is set from the dax
workflow env (ARKER_PLATFORMS=graviton4); elsewhere the platform is automatic.

The runner skips a provider whose requiredEnvVars are unset, so this is inert
until the ARKER_API_KEY secret is added.

Measured against production:
  regular  ubuntu-small   1 vCPU / 397572 kB    TTI 413 ms
  dax      ubuntu-full-8  8 vCPU / 16607368 kB  57.8 s, 8/8 phases parsed

Needs @computesdk/arker >= 0.1.2; 0.1.1's runCommand throws against the current
@arker-ai/sdk.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tpwz2hqd4mnWU5AF5P9TpD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant