Hi,

So on this machine the cached run is roughly 27 times faster than the initial run.

Good.

The complete |context gyroid-test.tex| command performed both runs automatically and was measured with |/usr/bin/time -v| as:

|wall-clock time: 7.10 seconds maximum resident set size: 432,172 kB CPU usage: 88% |

single core (no gpu usage)

This means that, on this Ryzen 5 5600 machine, the initial calculation is about twice as fast as the approximately 14 seconds you reported, while the cached run is also somewhat faster than your 0.45 seconds.

Ok, that fits when i compare cpu speeds charts.

The bitmap output remains compact and responsive in the PDF viewer, despite the mesh containing more than 1.2 million triangles.

If you want to see the mesh ... best go for "pi" and not "2pi" ranges:

    .....
    normal   = "smooth",
    vector   = true,
] ;

lmt_scene_render ;

draw lmt_scene_mesh "gyroid"
    withpen pencircle scaled 0.05pt withcolor .8 ;
;

A nice stress test for pdf viewers (i tested sumatra/mupdf and okular).

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to