-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# Benchmarks | ||
Welcome to Nova Physics benchmarks | ||
All benchmarks were run on a Windows 10, Intel i5 6th gen machine. | ||
|
||
<img src="https://raw.githubusercontent.com/kadir014/nova-physics/main/benchmarks/assets/bench_balls.png"> | ||
Chipmunk2D and Box2D tests are used as a baseline to see how Nova Physics has progress so far performance-wise. All benchmark scenes use the same configuration among all engines; 10 velocity and position iterations, 60Hz simulation. | ||
|
||
<img src="https://raw.githubusercontent.com/kadir014/nova-physics/main/benchmarks/assets/bench_boxes.png"> | ||
Data points gathered for each benchmark includes 30,000 frames and shows how long it takes to simulate one step in milliseconds. | ||
|
||
<img src="https://raw.githubusercontent.com/kadir014/nova-physics/main/benchmarks/assets/bench_mixed.png"> | ||
|
||
|
||
## Mixer (`mixer.c`) | ||
| Physics Engine | Average physics time (ms) | | ||
|----------------------|---------------------------| | ||
| Nova Physics `0.5.1` | 23.65 | | ||
| Box2D `2.3.1` | 10.90 | | ||
| Chipmunk2D `7.0.3` | 4.33 | |
Binary file not shown.
Binary file not shown.
Binary file not shown.