-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
167 lines (146 loc) · 4.01 KB
/
Copy pathCargo.toml
File metadata and controls
167 lines (146 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[workspace]
resolver = "2"
members = [
"poly-bench-*",
"poly-bench-grammar",
"poly-bench-syntax",
"poly-bench-lsp-v2",
"poly-bench-traits",
"integration-tests",
"poly-bench-runtime/runtimes/runtimes-go",
"poly-bench-runtime/runtimes/runtimes-ts",
"poly-bench-runtime/runtimes/runtimes-rust",
"poly-bench-runtime/runtimes/runtimes-python",
"poly-bench-runtime/runtimes/runtimes-c",
"poly-bench-runtime/runtimes/runtimes-csharp",
"poly-bench-runtime/runtimes/runtimes-zig",
]
[workspace.package]
version = "0.1.24"
edition = "2021"
authors = ["Evan McGrane"]
license = "MIT"
repository = "https://github.com/evm-tooling/poly-bench"
[workspace.dependencies]
# Internal crates
poly-bench-dsl = { path = "poly-bench-dsl" }
poly-bench-ir-traits = { path = "poly-bench-ir-traits" }
poly-bench-stdlib = { path = "poly-bench-stdlib" }
poly-bench-ir = { path = "poly-bench-ir" }
poly-bench-project = { path = "poly-bench-project" }
poly-bench-runtime = { path = "poly-bench-runtime" }
poly-bench-traits = { path = "poly-bench-traits" }
poly-bench-executor = { path = "poly-bench-executor" }
poly-bench-reporter = { path = "poly-bench-reporter" }
poly-bench-lsp-v2 = { path = "poly-bench-lsp-v2" }
poly-bench-syntax = { path = "poly-bench-syntax" }
tree-sitter-polybench = { path = "poly-bench-grammar" }
# Shared dependencies
miette = { version = "7", features = ["fancy"] }
thiserror = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
clap = { version = "4", features = ["derive"] }
toml = "1.0"
toml_edit = "0.22"
colored = "2"
tabled = "0.15"
async-trait = "0.1"
tempfile = "3"
which = "6"
hex = "0.4"
regex = "1"
libloading = "0.9"
tower-lsp = "0.20"
dashmap = "6"
ropey = "1"
once_cell = "1"
futures = "0.3"
indicatif = "0.18"
sha2 = "0.10"
pretty_assertions = "1"
dialoguer = "0.11"
console = "0.15"
ureq = { version = "3", features = ["json"] }
[package]
name = "poly-bench"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "A high-performance multi-language benchmarking framework with custom DSL"
keywords = ["benchmark", "dsl", "performance", "typescript", "go"]
categories = ["development-tools::profiling", "command-line-utilities"]
[dependencies]
# Internal crates
poly-bench-dsl.workspace = true
poly-bench-stdlib.workspace = true
poly-bench-ir.workspace = true
poly-bench-project.workspace = true
poly-bench-runtime.workspace = true
poly-bench-executor.workspace = true
poly-bench-reporter.workspace = true
poly-bench-lsp-v2.workspace = true
# CLI
clap.workspace = true
tokio.workspace = true
# Go plugin loading
libloading.workspace = true
# Error handling
thiserror.workspace = true
miette.workspace = true
# Output
colored.workspace = true
tabled.workspace = true
serde.workspace = true
serde_json.workspace = true
toml.workspace = true
# Async
async-trait.workspace = true
# Misc
tempfile.workspace = true
which.workspace = true
hex.workspace = true
regex.workspace = true
dialoguer.workspace = true
console.workspace = true
ureq.workspace = true
# LSP (Language Server Protocol)
tower-lsp.workspace = true
dashmap.workspace = true
ropey.workspace = true
once_cell.workspace = true
# Gopls integration
futures.workspace = true
# Progress indicators
indicatif.workspace = true
[dev-dependencies]
pretty_assertions.workspace = true
[[bin]]
name = "poly-bench"
path = "cli/main.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
[profile.dev]
opt-level = 0 # keep your code fast to compile
debug = 1 # smaller debug info than full (default is 2)
incremental = true
codegen-units = 64 # more parallel codegen => faster compiles
lto = false
# Compile *dependencies* with optimizations so running is faster,
# but your workspace crates still rebuild quickly.
[profile.dev.package."*"]
opt-level = 3
debug = 0
[profile.dev-fast]
inherits = "dev"
opt-level = 1
debug = 0
codegen-units = 64
[profile.test]
debug = 1
codegen-units = 64