motoko-benchmarks-generation

Official

Standardize Motoko benchmarks with bench-helper.

Authorresearch-ag
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Motoko benchmarks often lack structure; bench-helper standardizes how to describe and run bench tests, enabling repeatable measurements across projects.

Core Features & Use Cases

  • Bench schema: define name, rows, cols, and a run function; one bench file per module; a runner discovers all benches consistently.
  • Project setup: uses mops.toml and mo:core/mo:base compatibility; supports mo:base can still run benches.
  • Safe patterns: guidance for encode/decode, hashing, crypto, and allocation benches to ensure deterministic results.

Quick Start

Create a new bench using bench-helper and place bench files under bench/ with a simple init() that returns a Bench.V1 instance

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: motoko-benchmarks-generation
Download link: https://github.com/research-ag/motoko-skills/archive/main.zip#motoko-benchmarks-generation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.