Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
Update benchmark code
Browse files Browse the repository at this point in the history
  • Loading branch information
mre committed Jul 4, 2018
1 parent f7d9919 commit 3a35e1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,12 @@ default-features = false
features = ["extension-module"]

[lib]
crate-type = ["cdylib"]
name = "hyperjson"
# crate-type = ["cdylib"]

[[bin]]
name = "hyperjson-bench"
path = "src/bench.rs"

[profile.release]
debug = true
2 changes: 1 addition & 1 deletion src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Usage:
//!
//! ```
//! Cargo build
//! cargo build
//! valgrind --tool=callgrind --main-stacksize=1000000000 target/debug/hyperjson-bench
//! callgrind_annotate --auto=yes callgrind.out.35583 >out.rs
//! qcachegrind callgrind.out.35583
Expand Down

0 comments on commit 3a35e1a

Please sign in to comment.