rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Time profiling updates #114

Closed drager closed 6 years ago

drager commented 6 years ago

Hey, I found some parts I thought could be improved a bit.

I want to mention the nightly compiler since from the setup we could've used the beta compiler and wasn't required to use the nightly compiler.

I think one line of explanation of benchcmp was a good idea. I also removed the ticks (`) aroundbenchcmpsince they "broke" the link, it was only displayed that it was a link if you'd hover. See the [current version](https://rustwasm.github.io/book/game-of-life/time-profiling.html) of the book for an example. I included the outputting to files in thecargo bench` command to make it clear how those files came to be when we will compare them.

fitzgen commented 6 years ago

Thanks again!