Benchmarks & Cross-Engine Validation¶
All benchmarks below were measured on a 16-thread x86_64 CPU (dt = 1/60s, substeps = 4 / 240 Hz).
1. JoltSim vs. MuJoCo 4.0.1 CPU (benchmarks/bench_mujoco.py)¶
Benchmark |
Envs |
JoltSim |
MuJoCo 4.0.1 CPU |
Speedup |
|---|---|---|---|---|
Batched Raycast / LiDAR (4,096 rays/env) |
1 |
4.98 Mrays/s |
1.17 Mrays/s |
4.24x |
Batched Raycast / LiDAR (4,096 rays/env) |
16 |
32.75 Mrays/s |
7.13 Mrays/s |
4.59x |
Batched Raycast / LiDAR (4,096 rays/env) |
64 |
39.28 Mrays/s |
8.46 Mrays/s |
4.64x |
100-Object Clutter ( |
1 |
987.1 steps/s |
867.2 steps/s |
1.14x |
100-Object Clutter ( |
16 |
5,800.3 steps/s |
3,955.1 steps/s |
1.47x |
100-Object Clutter ( |
64 |
6,354.1 steps/s |
4,515.9 steps/s |
1.41x |
2. JoltSim vs. PyBullet (benchmarks/bench_throughput.py, num_velocity_steps=16, num_position_steps=4)¶
Scene |
Envs |
JoltSim (steps/s) |
PyBullet-1Proc |
PyBullet-MultiProc (16w) |
Speedup vs MP |
|---|---|---|---|---|---|
|
8 |
58,849 |
7,109 |
36,938 |
1.59x |
|
32 |
66,936 |
— |
36,797 |
1.82x |
|
64 |
61,474 |
— |
17,029 |
3.61x |
|
8 |
20,316 |
1,832 |
11,947 |
1.70x |
|
32 |
37,958 |
— |
12,500 |
3.04x |
|
8 |
8,265 |
535 |
2,729 |
3.03x |
|
64 |
10,869 |
— |
1,676 |
6.48x |
3. Joint Stability & 3-Engine Validation¶
Franka Panda steady-state joint separation:
0.037–0.046 mmacross 0x–20x payloads.Unitree A1 10s stand+trot steady separation:
0.390 mm.3-Way RNEA Validation (
tests/test_cross_engine_validation.py,tests/test_dynamics_crosscheck.py): Full inverse dynamics \(\tau = M(q)\ddot{q} + C(q, \dot{q})\dot{q} + g(q)\), Jacobians, and mass matrices are cross-checked against MuJoCo 4.0.1 and PyBullet 3.2.7.