Skip to content

Commit

Permalink
feat: add end to end benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarrus1 committed Sep 29, 2023
1 parent 9ff5c9d commit 8f18747
Show file tree
Hide file tree
Showing 8 changed files with 369 additions and 76 deletions.
207 changes: 206 additions & 1 deletion Cargo.lock

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

10 changes: 9 additions & 1 deletion crates/sourcepawn_lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ store.workspace = true
syntax.workspace = true
parking_lot.workspace = true
uuid.workspace = true
# This is only used in the fixture module for benchmarks and tests.
itertools = "0.11.0"

[dependencies.openssl]
optional = true
Expand All @@ -54,11 +56,17 @@ version = "0.10.55"
[dev-dependencies]
assert_unordered = "0.3.5"
criterion = { version = "0.4.0" }
itertools = "0.11.0"
insta = { version = "1.28.0", features = ["glob", "redactions", "json"] }
minreq = { version = "2.7.0", features = ["https"] }
zip = "0.6.6"

[features]
# If compiling on a system without OpenSSL installed, or cross-compiling for a different
# architecture, enable this feature to compile OpenSSL as part of the build.
# See https://docs.rs/openssl/#vendored for more.
static_ssl = ['openssl/vendored']

[[bench]]
name = "bench_main"
harness = false
path = "benches/bench_main.rs"
Loading

0 comments on commit 8f18747

Please sign in to comment.