          showAlert('Benchmark started!', 'success');
        } else {
            showAlert('Error: ' + data.error, 'error');
            document.getElementById('start-benchmark').disabled = false;
        }
    } catch (error) {
        console.error('Error starting benchmark:', error);
        showAlert('Failed to start benchmark', 'error');
        document.getElementById('start-benchmark').disabled = false;
    }
}

function showProgress() {
    document.querySelector('.dataset-selection').style.displ