Add an example of the performance API

This commit is contained in:
Alex Crichton
2018-03-21 10:21:21 -07:00
parent 758bb3c2c3
commit b00f8c5a28
11 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// For more comments about what's going on here, check out the `hello_world`
// example
const rust = import("./performance");
rust.then(m => m.run());