Codux_runtime / interface(2).html
Nemeniorg's picture
Upload 118 files
5bdffe5 verified
Raw History Blame Contribute Delete
854 Bytes
<!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>