Skip to content

z Release 0.5.2 Performance

Z3 Development edited this page Sep 26, 2021 · 1 revision

Browser Performance


CLI Performance

Completed 2016-07-02

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.5.1       0.5.2
|cubes               2608.3314   2556.0088 iterations per second
|cylinders            852.3098    851.6542 iterations per second
|spheres              216.1814    216.8927 iterations per second
|torus                183.6442    185.1373 iterations per second
|total               3860.4670   3809.6932 score

CSG Primitives

./openjscad examples/benchmark_csg.jscad

|Version                  0.5.1       0.5.2
|cubes                7532.7838   7529.6568 iterations per second
|roundedCubes            9.7915     10.0350 iterations per second
|cylinders             900.6628    919.3773 iterations per second
|roundedCylinders     1965.6964   1960.5069 iterations per second
|spheres              2141.1751   2174.9551 iterations per second
|total               12550.1097  12594.5313 score

CAG Primitives

./openjscad examples/benchmark_cag.jscad

|Version                  0.5.1      0.5.2
|circles             32699.9999 32481.6849 iterations per second
|rectangles           5870.1551  5947.2708 iterations per second
|roundedRectangles      92.3704    96.4537 iterations per second
|total               38662.5255 38525.4095 score