sightglass-api 0.1.0

Provides Rust bindings to the sightglass-next API.
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 1.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • bytecodealliance/sightglass
    82 36 30
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jedisct1 fitzgen github:bytecodealliance:wasmtime-publish abrown

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.