From bccbcc12c72f5edde605601a311646d1ca96d7e1 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Thu, 31 Jul 2025 16:04:04 +0100 Subject: Add CPU performance benchmarking --- index.html | 259 ++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 160 insertions(+), 99 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 52499cf..2295c32 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,7 @@
+
@@ -16,119 +17,179 @@
-
-
-
-
-
-

A minimal ray tracing engine written from scratch in JS. No graphics APIs or libraries are used, only a single HTML5 canvas call to draw the generated bitmap image.

-

Various effects are supported, including recursive optical reflections and refractions, and Phong shading. Basic multi-threading is implemented using the Web Workers API.

-

The source is on GitHub.

-
-
-
- Render options -
- -
-
- + +
+ +
+
+ +
+
+ +
+
+
+
+

A minimal ray tracing engine written from scratch in JS. No graphics APIs or libraries are used, only a single HTML5 canvas call to draw the generated bitmap image.

+

Various effects are supported, including recursive optical reflections and refractions, and Phong shading. Basic multi-threading is implemented using the Web Workers API.

+

The raytracer can also produce CPU performance benchmarks.

+

The source is on GitHub.

-
- +
+
+ Render options +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
-
- +
+ Performance options +
+ +
+
+ +
+
+ + +
+ + 4 +
+
+
+ +
+
+ +
-
- +
+
+ + +
+ + + +
-
- Performance options -
- +
+
+ +
+
+
+
+

You can also use the raytracer to run a CPU and JavaScript performance benchmark.

+

This will run multiple 1080p renders, with both single and multicore workloads. An overall score will be calculated based on performance, higher is better.

+

Compare your results to the reference scores from the various other devices I've tested.

-
- +
+
+
-
- - -
- - 4 +
+
+
+ +
+
+
+
+
Score
+
+
+
+
+
Multi-core
+
-
+
+
+
Single core
+
-
+
+
+
+
+
+
-
- -
-
- -
-
-
-
- - -
- - - -
+
- -- cgit v1.2.3