Skip to content

Commit

Permalink
rm puffin
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 29, 2023
1 parent 743f140 commit a6a706e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 88 deletions.
64 changes: 0 additions & 64 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ rustfft = "6.1.0"
rand = { version = "0.8.5", features = ["small_rng"] }
derive_builder = "0.12.0"

[dev-dependencies]
puffin = "0.18.0"
puffin_http = "0.15.0"

[profile.release]
debug = 1
20 changes: 0 additions & 20 deletions src/psd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,26 +573,6 @@ mod test {
}
}

/// 36 insns per item: > 200 MS/s per skylake core
#[test]
#[ignore]
fn puff() {
let server_addr = format!("127.0.0.1:{}", puffin_http::DEFAULT_PORT);
let _puffin_server = puffin_http::Server::new(&server_addr).unwrap();
eprintln!("Run this to view profiling data: puffin_viewer {server_addr}");
puffin::set_scopes_on(true);

let mut s = PsdCascade::<{ 1 << 9 }>::new(3);
let x: Vec<_> = (0..1 << 16).map(|_| rand::random::<f32>() - 0.5).collect();
let mut f = || {
puffin::profile_function!();
// for _ in 0..(1 << 12) {
// + 293
s.process(&x);
};
f();
}

/// full accuracy tests
#[test]
fn exact() {
Expand Down

0 comments on commit a6a706e

Please sign in to comment.