Skip to content

Commit

Permalink
Revert benchmarking code
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Feb 9, 2024
1 parent 9ae4fb3 commit 82e1d4e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 938 deletions.
5 changes: 0 additions & 5 deletions Cargo.lock

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

14 changes: 0 additions & 14 deletions crates/ruff_python_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ license = { workspace = true }
build = "build.rs"

[lib]
bench = false

[[bench]]
name = "string"
harness = false

[dependencies]
ruff_python_ast = { path = "../ruff_python_ast" }
Expand All @@ -33,15 +28,6 @@ rustc-hash = { workspace = true }
static_assertions = { workspace = true }
unicode-ident = { workspace = true }
unicode_names2 = { workspace = true }
once_cell = "1.19.0"
criterion = { workspace = true, default-features = false }
codspeed-criterion-compat = { workspace = true, default-features = false, optional = true}

[target.'cfg(target_os = "windows")'.dev-dependencies]
mimalloc = { workspace = true }

[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dev-dependencies]
tikv-jemallocator = { workspace = true }

[dev-dependencies]
insta = { workspace = true }
Expand Down
93 changes: 0 additions & 93 deletions crates/ruff_python_parser/benches/string.rs

This file was deleted.

3 changes: 1 addition & 2 deletions crates/ruff_python_parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,9 @@ mod function;
mod invalid;
// Skip flattening lexer to distinguish from full ruff_python_parser
pub mod lexer;
pub mod old_string;
mod parser;
mod soft_keywords;
pub mod string;
mod string;
mod token;
mod token_source;
pub mod typing;
Expand Down
Loading

0 comments on commit 82e1d4e

Please sign in to comment.