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: 2.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 242.96 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • bytecodealliance/sightglass
    86 37 28
  • 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.