rust perf diving Afficher plus
soooooooo this benchmark is taking longer than I'd expect
perf tells me it's functions in unicode_normalization and idna::uts46, which would make sense if I were using trust_dns::rr::Label::from_utf8
but I'm using from_raw_bytes
and there are no other functions in the entirety of trust_dns that use idna::uts46
so what gives???
the only other path into the idna crate, according to Cargo.lock, is the url crate, which is only used in trust-dns-proto for CAA record data, which I'm also not using in any of my code paths
rust perf diving, resolved Afficher plus
it turned out that my benchmark *was* using those paths because I was building the zone every time instead of using lazy_static
oops :(
I like my commit message here
https://github.com/wobscale/pepbut/commit/47c7d279b28d7d4d25d0f393a384880849d1d5bc
@iliana go to bed~
@catoutofbed yeah, yeah
@iliana you deserve rest <3gotta have plenty of energy for the weekend~
rust perf diving, resolved Afficher plus
@iliana
go to bed~