Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'

This commit is contained in:
ruv
2026-02-28 14:39:40 -05:00
7854 changed files with 3522914 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# RuvLLM Benchmark Dockerfile
# Runs comprehensive performance benchmarks in isolated environment
FROM node:20-alpine
# Install build dependencies for native modules
RUN apk add --no-cache \
python3 \
make \
g++ \
git
WORKDIR /app
# Copy package files and configs
COPY package*.json ./
COPY tsconfig.json ./
COPY tsconfig.esm.json ./
# Install dependencies
RUN npm install
# Copy source and test files
COPY src/ ./src/
COPY test/ ./test/
# Build TypeScript
RUN npm run build
# Set environment for benchmarking
ENV NODE_ENV=production
ENV BENCHMARK_ITERATIONS=1000
# Run benchmarks
CMD ["node", "test/benchmark.js"]