Skip to content

Commit

Permalink
Add profiling crate
Browse files Browse the repository at this point in the history
  • Loading branch information
danhje committed Apr 4, 2024
1 parent 5cc8c36 commit c258572
Show file tree
Hide file tree
Showing 7 changed files with 394 additions and 22 deletions.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/target
**/target

# perf and flamegraph files
perf.data
perf.data.old
flamegraph.svg

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -53,10 +58,6 @@ coverage.xml
# Rope
.ropeproject

# Django stuff:
*.log
*.pot

.DS_Store

# Sphinx documentation
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[lib]
name = "quick_xmltodict"
crate-type = ["cdylib"]
crate-type = ["rlib", "cdylib"]

[dependencies]
anyhow = "*"
Expand All @@ -17,3 +17,6 @@ opt-level = 3
strip = "symbols"
codegen-units = 1
lto = "fat"

[features]
default = ["pyo3/extension-module"]
Loading

0 comments on commit c258572

Please sign in to comment.