Files
git.stella-ops.org/bench/Scanner.Analyzers/lang
Vladimir Moushkov f4d7a15a00
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
feat: Add RustFS artifact object store and migration tool
- Implemented RustFsArtifactObjectStore for managing artifacts in RustFS.
- Added unit tests for RustFsArtifactObjectStore functionality.
- Created a RustFS migrator tool to transfer objects from S3 to RustFS.
- Introduced policy preview and report models for API integration.
- Added fixtures and tests for policy preview and report functionality.
- Included necessary metadata and scripts for cache_pkg package.
2025-10-23 18:53:18 +03:00
..

Scanner Language Analyzer Benchmarks

This directory will capture benchmark results for language analyzers (Node, Python, Go, .NET, Rust).

Pending tasks:

  • LA1: Node analyzer microbench CSV + flamegraph.
  • LA2: Python hash throughput CSV.
  • LA3: Go build info extraction benchmarks.
  • LA4: .NET RID dedupe performance matrix.
  • LA5: Rust heuristic coverage comparisons.

Results should be committed as deterministic CSV/JSON outputs with accompanying methodology notes.

Sprint LA3 — Go Analyzer Benchmark Notes (2025-10-22)

  • Scenario go_buildinfo_fixture captures our Go analyzer running against the basic build-info fixture. The Oct23baseline (baseline.csv) shows a mean duration of 35.03ms (p95136.55ms, max170.16ms) over 5 iterations on the current rig; earlier Oct21 measurement recorded 4.02ms mean when the analyzer was profiled on the warm perf runner.
  • Comparative run against Syft v1.29.1 on the same fixture (captured 2025-10-21) reported a mean of 5.18ms (p9518.64ms, max23.51ms); raw measurements live in go/syft-comparison-20251021.csv.
  • Bench command (from repo root):
    dotnet run --project bench/Scanner.Analyzers/StellaOps.Bench.ScannerAnalyzers/StellaOps.Bench.ScannerAnalyzers.csproj -- --config bench/Scanner.Analyzers/config.json --out bench/Scanner.Analyzers/baseline.csv

Sprint LA4 — .NET Analyzer Benchmark Notes (2025-10-23)

  • Scenario dotnet_multirid_fixture exercises the .NET analyzer against the multi-RID test fixture that merges two applications and four runtime identifiers. Latest baseline run (Release build, 5 iterations) records a mean duration of 29.19ms (p95106.62ms, max132.30ms) with a stable component count of 2.
  • Syft v1.29.1 scanning the same fixture (syft scan dir:…) averaged 1546ms (p95≈2100ms, max≈2100ms) while also reporting duplicate packages; raw numbers captured in dotnet/syft-comparison-20251023.csv.
  • The new scenario is declared in bench/Scanner.Analyzers/config.json; rerun the bench command above after rebuilding analyzers to refresh baselines and comparison data.

Sprint LA2 — Python Analyzer Benchmark Notes (2025-10-23)

  • Added two Python scenarios to config.json: the virtualenv sample (python_site_packages_scan) and the RECORD-heavy pip cache fixture (python_pip_cache_fixture).
  • Baseline run (Release build, 5 iterations) records means of 5.64ms (p9518.29ms) for the virtualenv and 5.86ms (p9513.29ms) for the pip cache verifier; raw numbers stored in python/hash-throughput-20251023.csv.
  • The pip cache fixture exercises PythonRecordVerifier with 12 RECORD rows (7 hashed) and mismatched layer coverage, giving a repeatable hash-validation throughput reference for regression gating.