Velo: Secret Manager Benchmark
Online checker of performance benchmarks for Velo Secrets Manager.
How it works
The process involves a straightforward check. It calculates the number of milliseconds that elapse between the start and end of the getSecret(name: string)
API call.
backand/benchmark.js
import { getSecret } from 'wix-secrets-backend';
export async function getBenchmark() {
const start = Date.now();
await getSecret('test');
const end = Date.now();
return end - start;
}