Skip to content

Z Release 0.4.0 Performance

Z3 Development edited this page Jul 2, 2016 · 1 revision

Browser Performance


CLI Performance

Completed 2016-01-20

Environment:

  • Mac Mini running OSX 10.10.5
  • NodeJs v0.10.33

Note: Larger numbers indicate better performance.

SCAD Compatibility

./openjscad examples/benchmark.jscad

|Version              0.3.1         0.4.0
|cubes               2606.5999     2612.0116 iterations per second
|cylinders            832.5357      846.9630 iterations per second
|spheres              215.0455      217.9565 iterations per second
|torus                179.1937      183.7650 iterations per second
|total               3833.3750     3860.6963 score

CSG Primitives

./openjscad examples/benchmark_csg.jscad

|Version              0.3.1         0.4.0
|cubes               7429.4650     7512.7747 iterations per second
|roundedCubes          10.1197        9.9083 iterations per second
|cylinders            884.3236      911.5730 iterations per second
|roundedCylinders    1941.1932     1999.1925 iterations per second
|spheres             2142.7693     2170.0864 iterations per second
|total              12407.8711    12603.5350 score

CAG Primitives

./openjscad examples/benchmark_cag.jscad

|Version              0.3.1         0.4.0
|circles            32849.9999    33193.5897 iterations per second
|rectangles          5946.1816     5930.1685 iterations per second
|roundedRectangles     95.7394       92.5113 iterations per second
|total              38891.9210    39216.2696 score