Skip to content

Commit

Permalink
Merge pull request #3 from sol-farm/optimize
Browse files Browse the repository at this point in the history
Multi-Crank And Misc Optimizations
  • Loading branch information
bonedaddy authored Aug 23, 2021
2 parents 307a97f + 62f8cca commit 1e7df18
Show file tree
Hide file tree
Showing 15 changed files with 1,037 additions and 2,282 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ serum_crank.tar.gz
Makefile
README.md
my-crank.log

crank
# regexs
**/*.txt
**/yarn.lock
Expand Down
171 changes: 64 additions & 107 deletions Cargo.lock

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

20 changes: 14 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ edition = "2018"

[[bin]]
name = "crank"
path = "src/bin/main.rs"
path = "src/main.rs"

[dependencies]
# 1be91f2863d8ecede32daaae7e768034e24bbc79 == v0.4.0 commit
serum_dex = { git = "https://github.com/project-serum/serum-dex.git", rev = "1be91f2863d8ecede32daaae7e768034e24bbc79", default-features = false, features = ["client"] }
serum-common = { git = "https://github.com/project-serum/serum-dex.git", rev ="1be91f2863d8ecede32daaae7e768034e24bbc79", features = ["client"] }
spl-token = { version = "3.0.0-pre1", features = ["no-entrypoint"], default-features = false }
clap = "3.0.0-beta.1"
clap = "2.33.3"
enumflags2 = "0.6.4"
solana-client = "1.6.18"
solana-sdk = "1.6.18"
anyhow = "1.0.32"
anyhow = "1.0.43"
rand = "0.7.3"
safe-transmute = "0.11.0"
threadpool = "1.8.1"
Expand All @@ -25,14 +25,22 @@ slog-scope = "4.3"
slog-stdlog = "4"
log = "0.4"
debug_print = "1.0.0"
tokio = {version = "0.2", features = ["full"]}
tokio = { version = "1.8.0", features = ["rt-multi-thread"] }
warp = "0.2"
jemallocator = "0.3.2"

serde_json = "1.0.64"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
simplelog = "0.10.0"
crossbeam = "0.8.1"
crossbeam-channel = "0.5.1"
crossbeam-utils = "0.8.5"
crossbeam-queue = "0.3.2"
signal-hook = "0.3.9"
[profile.release]
lto = "fat"
codegen-units = 1
[profile.release.build-override]
opt-level = 3
incremental = false
codegen-units = 1
codegen-units = 1
Loading

0 comments on commit 1e7df18

Please sign in to comment.