Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix error rate
  • Loading branch information
pablogsal committed Dec 1, 2025
commit 870b164f4231935e92ba6fd528cc051b630d2c15
2 changes: 1 addition & 1 deletion Lib/profiling/sampling/flamegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ function populateProfileSummary(data) {

// Efficiency bar
if (errorRate !== undefined && errorRate !== null) {
const efficiency = Math.max(0, Math.min(100, (1 - errorRate) * 100));
const efficiency = Math.max(0, Math.min(100, (100 - errorRate)));

const efficiencySection = document.getElementById('efficiency-section');
if (efficiencySection) efficiencySection.style.display = 'block';
Expand Down
Loading