diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-11 11:35:45 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-11 11:35:45 +0200 |
| commit | 998a3c44fd79eac92c375ec9e755288bc146a279 (patch) | |
| tree | 70825f2d68ed64c32b8b2551dcf0e545753f643c /src/util | |
| parent | 2f0b5eeae09bd880e4552bb83e44d9cd32571c58 (diff) | |
Remove tracing from cheap functions
Turns out that having tracing enabled on some functions that get called a lot distorts the traces so that their parent stack frames look much more expensive than they actually are.
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs index 83ec5961..f96fa55e 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -34,7 +34,6 @@ where } /// Calculate a 128-bit siphash of a value. -#[tracing::instrument(skip_all)] pub fn hash128<T: Hash + ?Sized>(value: &T) -> u128 { let mut state = SipHasher13::new(); value.hash(&mut state); |
