                      <span class="metric-label">Total Updates:</span>
                        <span class="metric-value">${results.totalUpdates}</span>
                    </div>
                `;
            }
            
            resultHtml += '</div>';
            
            metricsDiv.innerHTML += resultHtml;
        }
        
        // Clear results
        function clearResults() {
            stopUpdates();
            document.getElementById('results').style.display = 'none';
            d