Posts

Ss cpu test

0) $iterations=$custom; } $result=null; if($type && $iterations>0 && !$stopFlag){ @set_time_limit(0); $startWall=microtime(true); $startCpu=get_cpu_seconds(); if($type==="hash"){ bench_hash($iterations); $label="SHA-256 hashing ($iterations iterations)";} elseif($type==="prime"){ bench_primes($iterations); $label="Prime numbers ($iterations)";} elseif($type==="matrix"){ bench_matrix($iterations); $label="Matrix multiplication (~".(int)sqrt($iterations)."x".(int)sqrt($iterations).")";} $endWall=microtime(true); $endCpu=get_cpu_seconds(); $wall=$endWall-$startWall; $cpu=($startCpu!==null && $endCpu!==null)?($endCpu-$startCpu):null; $result=[ "label"=>$label, "wall"=>$wall, "cpu"=>$cpu, "iter"=>$iterations, "speed"=>$w...

Server cpu test

Browser CPU Benchmark ⚡ Browser CPU Benchmark Test Type: SHA-256 Hashing Iterations: ▶ Run Benchmark Idle