#api-bindings #benchmarking #bench #suite #sightglass-next

sightglass-api

Provides Rust bindings to the sightglass-next API

1 unstable release

0.1.0 Feb 23, 2021

#27 in #bench

Apache-2.0 WITH LLVM-exception OR MIT

3KB

This crate provides simple bindings for Rust to the Sightglass API. The primary intent is to make it easy to instrument Rust code that will be compiled to Wasm and measured with Sightglass.

For example:

use sightglass_api as bench;
bench::start();
let work = 42 * 42;
bench::end();

See benchmarks-next/README.md for more details.

No runtime deps