blaze-performance-tester 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/dist/index.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -313,14 +313,14 @@ Provide a comprehensive, highly technical Root Cause Analysis (RCA) report struc
|
|
|
313
313
|
|
|
314
314
|
Paragraph 1 - GENERATIVE INCIDENT NARRATIVE: Write a clean, plain-English story of the incident that builds a chronological timeline of the failure event (e.g., "At 00:12s, traffic spiked by 40%. This caused database connection pool exhaustion, which triggered a cascading series of 504 errors on the checkout endpoint, ultimately hitting a knee-point crash at 500 virtual users."). Translate raw logs and metrics trends directly into an easy-to-read chronological story.
|
|
315
315
|
|
|
316
|
-
Paragraph 2 - TECHNICAL BOTTLENECK
|
|
316
|
+
Paragraph 2 - TECHNICAL BOTTLENECK DIAGNOSOR: Diagnose the exact bottleneck point (CPU saturation, socket pool exhaustion, database lock contention, etc.) indicated by how latency changes dynamically alongside concurrency, and correlate unique structural exception/error patterns directly to the performance drops.
|
|
317
317
|
|
|
318
318
|
Paragraph 3 - ARCHITECTURAL SIZING RECOMMENDATIONS: Give concrete, infrastructure sizing or cloud architecture remediation recommendations based on the stress points found.
|
|
319
319
|
|
|
320
320
|
CRITICAL: Return ONLY plain paragraph text. Do not use markdown headers (###). If you use bold text, use standard HTML <strong> tags. Wrap lines cleanly.
|
|
321
321
|
`;
|
|
322
322
|
try {
|
|
323
|
-
const endpoint =
|
|
323
|
+
const endpoint = `[https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=$](https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=$){apiKey}`;
|
|
324
324
|
const response = await fetch(endpoint, {
|
|
325
325
|
method: "POST",
|
|
326
326
|
headers: { "Content-Type": "application/json" },
|
|
@@ -1122,7 +1122,7 @@ function exportHtmlDashboard(history, config, verdictReason, semanticReport, res
|
|
|
1122
1122
|
</style></head><body>
|
|
1123
1123
|
<div class="container">
|
|
1124
1124
|
<div class="header">
|
|
1125
|
-
<h1>\u{1F525} Blaze Core Performance
|
|
1125
|
+
<h1>\u{1F525} Blaze Core Performance Report</h1>
|
|
1126
1126
|
<div class="meta">Target Script: <code>${config.targetScript}</code> | Ramp-Up: ${config.rampUpSec}s | Ramp-Down: ${config.rampDownSec}s</div>
|
|
1127
1127
|
</div>
|
|
1128
1128
|
|
|
Binary file
|