INNER CODE UNIT · TypeScript
currentV141Suite
envoyproxy/gateway · site/tools/benchmark-dashboard/src/data/index.ts:237
const currentV141Suite = allTestSuites.find(suite => suite.metadata.version === '1.4.1');
export const benchmarkResults = currentV141Suite?.results || [];
export const testConfiguration = currentV141Suite?.metadata.testConfiguration || {
rps: 10000,
connections: 100,
duration: 30,
cpuLimit: '1000m',
memoryLimit: '2000Mi'
};
// Generate backward-compatible processed data
export const performanceSummary = {
totalTests: benchmarkResults.length,
scaleUpTests: benchmarkResults.filter(r => r.phase === 'scaling-up').length,
scaleDownTests: benchmarkResults.filter(r => r.phase === 'scaling-down').length,
maxRoutes: benchmarkResults.length > 0 ? Math.max(...benchmarkResults.map(r => r.routes)) : 0,
minRoutes: benchmarkResults.length > 0 ? Math.min(...benchmarkResults.map(r => r.routes)) : 0,