Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,492 changes: 1,425 additions & 67 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ exclude = [
"benchmarks/tract-onnx-image-classification",
"engines/native/libengine",
]

# Always build Wasmtime and Cranelift in release mode to avoid slow Wasm
# compilation when running tests.
[profile.dev.package.cranelift-codegen]
opt-level = 3
[profile.dev.package.wasmtime]
opt-level = 3
4 changes: 4 additions & 0 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ regex = "1.5.4"
vega_lite_4 = { git = "https://github.com/procyon-rs/vega_lite_4.rs" }
minijinja = "2.10"
tempfile = "3.2.0"
wasmparser = "0.243.0"
wasm-encoder = { version = "0.243", features = ["wasmparser"] }
wasmtime = { version = "43", features = ["anyhow"] }
wasmtime-wasi = "43"

[dev-dependencies]
assert_cmd = "1.0.4"
Expand Down
4 changes: 4 additions & 0 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mod benchmark;
mod clean;
mod effect_size;
mod fingerprint;
mod pca_metrics;
mod report;
mod suite;
mod summarize;
Expand All @@ -14,6 +15,7 @@ use clean::CleanCommand;
use effect_size::EffectSizeCommand;
use fingerprint::FingerprintCommand;
use log::trace;
use pca_metrics::PcaMetricsCommand;
use report::ReportCommand;
use structopt::{clap::AppSettings, StructOpt};
use summarize::SummarizeCommand;
Expand Down Expand Up @@ -42,6 +44,7 @@ enum SightglassCommand {
Clean(CleanCommand),
EffectSize(EffectSizeCommand),
Fingerprint(FingerprintCommand),
PcaMetrics(PcaMetricsCommand),
Report(ReportCommand),
Summarize(SummarizeCommand),
UploadElastic(UploadCommand),
Expand All @@ -56,6 +59,7 @@ impl SightglassCommand {
SightglassCommand::Clean(clean) => clean.execute(),
SightglassCommand::EffectSize(effect_size) => effect_size.execute(),
SightglassCommand::Fingerprint(fingerprint) => fingerprint.execute(),
SightglassCommand::PcaMetrics(metrics) => metrics.execute(),
SightglassCommand::Report(report) => report.execute(),
SightglassCommand::Summarize(summarize) => summarize.execute(),
SightglassCommand::UploadElastic(upload) => upload.execute(),
Expand Down
Loading
Loading