Spaces:
Running
Running
File size: 854 Bytes
5bdffe5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!DOCTYPE html>
<html>
<head><title>Nexus Spark Benchmark</title>
<style>
body{background:#0a0a0f;color:#fff;font-family:sans-serif;text-align:center;padding:30px}
h1{color:#00f0ff}
.card{background:#12121a;padding:20px;border-radius:10px;margin:10px;border:1px solid #00f0ff}
button{background:#00f0ff;color:#000;padding:10px 20px;border:none;border-radius:6px;cursor:pointer}
</style>
</head>
<body>
<h1>⚡ Nexus Spark Benchmark</h1>
<p>Application d'optimisation de vitesse</p>
<button onclick="lancer()">Lancer le benchmark</button>
<div id="resultats"></div>
<script>
async function lancer(){
document.getElementById('resultats').innerHTML = "Benchmark en cours...";
const rep = await fetch('/api/benchmark');
const data = await rep.json();
document.getElementById('resultats').innerHTML = JSON.stringify(data, null, 2);
}
</script>
</body></html>
|