Compare commits

...

2 commits

Author SHA1 Message Date
b7ba7d9ec4 timings lol
Some checks are pending
test / test (push) Waiting to run
2025-10-06 21:49:14 +02:00
d2379848ac jmeow 2025-10-06 20:59:01 +02:00
3 changed files with 14174 additions and 4 deletions

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

View file

@ -61,8 +61,8 @@
<textarea data-template>
# speed 🚀
- compile times
- runtime performance
- compile times
</textarea>
</section>
<section>
@ -130,7 +130,12 @@
<textarea data-template>
## it's often LLVMs fault
- but like not really
- but like not really
<br>
<img alt="output of cargo build --timings, showing blocks of blue and purple bars of roughly equal size" src="cargo-timings-debug-ra.png">
`cargo build --timings`
</textarea>
</section>
<section>
@ -396,8 +401,8 @@ fn main() { math::add() }
- spend N times optimizing the function
- and there's duplicate instances!
- `cargo-llvm-lines`
- share-generics helps for non-release builds
- `cargo-llvm-lines`
</textarea>
</section>
<section data-markdown>
@ -551,7 +556,6 @@ fn main() { math::add() }
- optimizes everything in your program together at the end
- breaks crate boundaries
- is awesome
- is slow
- comes in many forms
</textarea>
@ -687,6 +691,8 @@ fn main() { math::add() }
## and both? 🥺👉👈
- no
- at least not at once
- debug/release
</textarea>
</section>
<section data-markdown>