We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bae723 commit 870b164Copy full SHA for 870b164
1 file changed
Lib/profiling/sampling/flamegraph.js
@@ -690,7 +690,7 @@ function populateProfileSummary(data) {
690
691
// Efficiency bar
692
if (errorRate !== undefined && errorRate !== null) {
693
- const efficiency = Math.max(0, Math.min(100, (1 - errorRate) * 100));
+ const efficiency = Math.max(0, Math.min(100, (100 - errorRate)));
694
695
const efficiencySection = document.getElementById('efficiency-section');
696
if (efficiencySection) efficiencySection.style.display = 'block';
0 commit comments