Skip to content

A library to help users create Samplers to benchmark their Aiken code

License

Notifications You must be signed in to change notification settings

aiken-lang/sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Aiken aiken/sample

Licence Continuous Integration


The official library for writing samplers (a.k.a Scaled Fuzzers) for the Aiken Cardano smart-contract language.

Warning

This is a work in progress and the API is not stable yet; The sample API for benchmarks is only supported since aiken==1.1.11;

Installation

aiken add aiken-lang/sample --version v0.0.0

Getting started

use aiken/sample.{Linear}

fn my_function(n: Int) -> Int {
  n * 2
}

bench multiply_bench(n via sample.int(Linear(5))) {
  my_function(n)
}

Tip

For more information, read the user manual.

About

A library to help users create Samplers to benchmark their Aiken code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published