diff --git a/lab.php b/lab.php index ca429aa..c515d97 100644 --- a/lab.php +++ b/lab.php @@ -1,7 +1,4 @@ 'success', - 'iterations' => number_format($iterations, 0, ',', '.'), 'duration_ms' => round($duration, 2), - 'ops_per_sec' => number_format($opsPerSec, 0, ',', '.'), - 'peak_memory' => round($memPeak, 2) . ' MB', - 'php_version' => PHP_VERSION, - 'final_hash' => substr($hash, 0, 16) . '...' 'tps' => number_format($tps, 0, ',', '.'), 'records' => 2500, 'raw_tps' => $tps @@ -237,8 +217,6 @@ if (isset($_GET['action'])) { exit; } - if ($_GET['action'] === 'hash' && isset($_POST['text'])) { - $input = (string)$_POST['text']; // 2. Afzonderlijke Benchmark Acties if ($_GET['action'] === 'bench_cpu') { echo json_encode(benchmarkCPU()); @@ -320,10 +298,6 @@ if (isset($_GET['action'])) { echo json_encode([ 'status' => 'success', - 'md5' => md5($input), - 'sha256' => hash('sha256', $input), - 'base64' => base64_encode($input), - 'length' => mb_strlen($input) 'score' => $finalScore, 'grade' => $grade, 'rating' => $rating, @@ -339,7 +313,6 @@ if (isset($_GET['action'])) { exit; } - echo json_encode(['status' => 'error', 'message' => 'Onbekende actie']); // 4. Server Specificaties & Audit if ($_GET['action'] === 'server_specs') { echo json_encode([ @@ -380,20 +353,15 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx'; - Web & PC Studio - Interactive Dev Lab Web & PC Studio - Webserver Benchmark & Dev Lab - -
- -
-
-
-
- Web & PC Studio -
Dev Lab • v2.0
-
- -
- -
-

Interactief Developer Lab

Webserver Performance Suite

- Geavanceerde demonstratie van server-side PHP computing, asynchrone AJAX communicatie en real-time HTML5 Canvas/Web Audio API rendering. Voer diepgaande diagnostische server benchmarks uit om CPU-rekenkracht, Disk I/O schrijf/leessnelheid, geheugenbandbreedte en gelijktijdige request-capaciteit van www.webenpcstudio.nl te meten.

-
- -
- -
-
-
- 🚀 - PHP Server Benchmark -
- PHP
Volledige Webserver Benchmark
-

- Laat de server 75.000 cryptografische SHA-256 cycli berekenen en meet de execution time & piekgeheugen. -

- -
-
-
Executietijd
-
-- ms
Test in één geautomatiseerde cyclus de CPU, NVMe/SSD Disk I/O, RAM doorvoer, JSON parsing en in-memory SQLite database.
@@ -1209,16 +977,10 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
Bewerkingen / s
--
-
-
Bewerkingen / sec
-
--
Duur
-- ms
-
-
Piekgeheugen
-
-- MB
@@ -1235,9 +997,6 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
Schrijfsnelheid
-- MB/s
-
-
Iteraties
-
75.000
Leessnelheid
-- MB/s
@@ -1246,12 +1005,6 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
- -
-
-
- 📈 - Live Latency Visualizer
@@ -1264,56 +1017,30 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
Doorvoer / s
--
- Klaar voor test
Piekgeheugen
-- MB
-

- Meet real-time round-trip latency tussen browser en de Apache/PHP webserver. -

- -
- -
-
-
- 💻 - Client Hardware & GPU -
- Client Info
📦 String & JSON
15k JSON Records
-
-
- Grafische kaart (GPU): - Detecteren...
JSON encoding, decoding en RegEx parsing op gestructureerde data.
Records / s
--
-
- CPU Cores / Threads: - --
Payload Omvang
-- KB
-
- Schermresolutie: - --
@@ -1330,41 +1057,20 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
Transacties / s
--
-
- Verbindingstype: - --
Query Tijd
-- ms
-
- Canvas WebGL Versie: - -- -
- -
-
-
- 🔐 - Live String & Hashing -
- Real-time
⚙️ Server Configuratie
PHP
- - -
- MD5 - ... - @@ -1396,10 +1102,6 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx'; Vuur gelijktijdige asynchrone AJAX aanroepen af om te zien hoe de webserver piekdrukte opvangt.

-
- SHA-256 - ... -
@@ -1408,10 +1110,6 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx'; ⚡ Start Burst
-
- Base64 - ... -
@@ -1437,7 +1135,6 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx';
-- ms
-
@@ -1447,17 +1144,12 @@ $serverSoftware = $_SERVER['SERVER_SOFTWARE'] ?? 'Apache / Nginx'; -
Server Software: