Webassembly Performance Monitor

Stats is a webassembly version of stats.js written in Rust.

This crate provides a simple info box that will help you monitor your code performance, and can be used either Javascript code or in Rust code.

Examples

In Javascript ```js const wasm = import('./pkg/stats_rs');

wasm.then(Stats => { const stats = Stats.init(); stats.attach(document.body);

function render() { stats.update(); requestAnimationFrame(render); }

render(); }); ```

Rust

// TODO