Add missing documentation for the asset cache.

Also improve `compile` sample timing logic and documentation.

PiperOrigin-RevId: 852855741
Change-Id: I9b2798208198ca68cf4cee9c968772954ada91c5
This commit is contained in:
Yuval Tassa
2026-01-06 11:06:28 -08:00
committed by Copybara-Service
parent 4a21b0ee01
commit 4830f5a79e
5 changed files with 73 additions and 20 deletions
+3
View File
@@ -128,6 +128,9 @@ during model development. It is in one-to-one correspondence with the compiled m
function :ref:`mj_printData` to create a text file which is in one-to-one correspondence
with mjData, although this is not done by the code sample.
If the input file is MJCF and the output file is empty, compilation is performed and timed twice to measure the impact
of the compiler's :ref:`asset cache<Assetcache>`.
.. _saBasic:
`basic <https://github.com/google-deepmind/mujoco/blob/main/sample/basic.cc>`_