Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance benchmarks #27

Open
sansumbrella opened this issue Mar 29, 2015 · 3 comments
Open

Performance benchmarks #27

sansumbrella opened this issue Mar 29, 2015 · 3 comments
Labels

Comments

@sansumbrella
Copy link
Owner

Recorded March 29, 2015 for future comparison.

master 71154c2
2.3 GHz Intel Core i7
Early 2011 MBP

Sequence Creation and Slicing
=============================
[Creating Medium Sequence] .......................   0.005960ms
[Creating Medium Sequence rhs Assignment] ........   0.003994ms
[Creating Huge Sequence] ......................... 172.978997ms
[Slicing Medium Sequence] ........................   0.002980ms
[Slicing Huge Sequence] ..........................   0.946999ms

Basic Timing for 50000 Motions
==============================
[Creating Motions with Callbacks in place] .......  16.393006ms
[60 Motion Steps (1sec at 60Hz)] ................. 174.609005ms
[Disconnecting Motions] ..........................   2.493024ms
[Step to remove disconnected Motions] ............  22.778034ms
[Creating Motions from existing Sequence] ........  10.605991ms
[60 Motion Steps (1sec at 60Hz)] ................. 137.154996ms

Comparative Performance: many targets, short animations.
========================================================
[Choreograph Create Average] .....................   2.072752ms
[Cinder Create Average] ..........................   3.174737ms
[Choreograph Step Average] ....................... 161.833778ms
[Cinder Step Average] ............................ 255.035758ms
[Create Performance (Choreograph / Cinder)] ......   0.652889
[Step Performance (Choreograph / Cinder)] ........   0.634553

Comparative Performance: single target, long animation.
=======================================================
[Choreograph Create Average] .....................   1.004770ms
[Cinder Create Average] .......................... 195.051253ms
[Choreograph Step Average] .......................  11.369735ms
[Cinder Step Average] ............................  99.682257ms
[Create Performance (Choreograph / Cinder)] ......   0.005151
[Step Performance (Choreograph / Cinder)] ........   0.114060

c++11 80b233c
3.6GHz i7-4790
Windows 7

Sequence Creation and Slicing
=============================
[Creating Medium Sequence] .......................   0.007396ms
[Creating Medium Sequence rhs Assignment] ........   0.007964ms
[Creating Huge Sequence] ......................... 125.167679ms
[Slicing Medium Sequence] ........................   0.002844ms
[Slicing Huge Sequence] ..........................   0.558646ms

Basic Timing for 50000 Motions
==============================
[Creating Motions with Callbacks in place] .......  14.910213ms
[60 Motion Steps (1sec at 60Hz)] .................  95.661847ms
[Disconnecting Motions] ..........................   0.764014ms
[Step to remove disconnected Motions] ............   6.410774ms
[Creating Motions from existing Sequence] ........   9.174990ms
[60 Motion Steps (1sec at 60Hz)] .................  84.630298ms

Comparative Performance: many targets, short animations.
========================================================
[Choreograph Create Average] .....................   1.787439ms
[Cinder Create Average] ..........................   3.202045ms
[Choreograph Step Average] ....................... 111.521388ms
[Cinder Step Average] ............................ 150.351401ms
[Create Performance (Choreograph / Cinder)] ......   0.558218
[Step Performance (Choreograph / Cinder)] ........   0.741738

Comparative Performance: single target, long animation.
=======================================================
[Choreograph Create Average] .....................   0.856102ms
[Cinder Create Average] .......................... 119.149152ms
[Choreograph Step Average] .......................   6.777350ms
[Cinder Step Average] ............................  49.646096ms
[Create Performance (Choreograph / Cinder)] ......   0.007185
[Step Performance (Choreograph / Cinder)] ........   0.136513
@sansumbrella
Copy link
Owner Author

April 17, 2015; after changing default Time alias to double
master 890c0a1
2.3 GHz Intel Core i7
Early 2011 MBP

Sequence Creation and Slicing
=============================
[Creating Medium Sequence] .......................   0.008047ms
[Creating Medium Sequence rhs Assignment] ........   0.005960ms
[Creating Huge Sequence] ......................... 172.110975ms
[Slicing Medium Sequence] ........................   0.002980ms
[Slicing Huge Sequence] ..........................   1.124024ms

Basic Timing for 50000 Motions
==============================
[Creating Motions with Callbacks in place] .......  15.551984ms
[60 Motion Steps (1sec at 60Hz)] ................. 198.072970ms
[Disconnecting Motions] ..........................   2.548993ms
[Step to remove disconnected Motions] ............  24.173021ms
[Creating Motions from existing Sequence] ........  10.565996ms
[60 Motion Steps (1sec at 60Hz)] ................. 170.226991ms

Comparative Performance: many targets, short animations.
========================================================
[Choreograph Create Average] .....................   2.179012ms
[Cinder Create Average] ..........................   3.133506ms
[Choreograph Step Average] ....................... 163.741007ms
[Cinder Step Average] ............................ 258.564249ms
[Create Performance (Choreograph / Cinder)] ......   0.695391
[Step Performance (Choreograph / Cinder)] ........   0.633270

Comparative Performance: single target, long animation.
=======================================================
[Choreograph Create Average] .....................   1.062497ms
[Cinder Create Average] .......................... 192.188501ms
[Choreograph Step Average] .......................  10.957986ms
[Cinder Step Average] ............................  98.006770ms
[Create Performance (Choreograph / Cinder)] ......   0.005528
[Step Performance (Choreograph / Cinder)] ........   0.111808

@sansumbrella
Copy link
Owner Author

Switch from unique_ptr to shared_ptr
grouping 3b28e87

2.3 GHz Intel Core i7
Early 2011 MBP

Sequence Creation and Slicing
=============================
[Creating Medium Sequence] .......................   0.010014ms
[Creating Medium Sequence rhs Assignment] ........   0.011027ms
[Creating Huge Sequence] ......................... 228.752971ms
[Slicing Medium Sequence] ........................   0.003994ms
[Slicing Huge Sequence] ..........................   1.344979ms

Basic Timing for 50000 Motions
==============================
[Creating Motions with Callbacks in place] .......  18.606007ms
[60 Motion Steps (1sec at 60Hz)] ................. 230.267048ms
[Disconnecting Motions] ..........................   2.816975ms
[Step to remove disconnected Motions] ............  23.518980ms
[Creating Motions from existing Sequence] ........  13.535976ms
[60 Motion Steps (1sec at 60Hz)] ................. 181.142032ms

Comparative Performance: many targets, short animations.
========================================================
[Choreograph Create Average] .....................   2.707988ms
[Cinder Create Average] ..........................   3.603756ms
[Choreograph Step Average] ....................... 180.565983ms
[Cinder Step Average] ............................ 275.247276ms
[Create Performance (Choreograph / Cinder)] ......   0.751435
[Step Performance (Choreograph / Cinder)] ........   0.656014

Comparative Performance: single target, long animation.
=======================================================
[Choreograph Create Average] .....................   0.908256ms
[Cinder Create Average] .......................... 198.343754ms
[Choreograph Step Average] .......................  11.332512ms
[Cinder Step Average] ............................ 101.606250ms
[Create Performance (Choreograph / Cinder)] ......   0.004579
[Step Performance (Choreograph / Cinder)] ........   0.111534

@sansumbrella
Copy link
Owner Author

Using unique_ptr with composable Timelines.
grouping_unique 4d36518

2.3 GHz Intel Core i7
Early 2011 MBP

Sequence Creation and Slicing
=============================
[Creating Medium Sequence] .......................   0.007987ms
[Creating Medium Sequence rhs Assignment] ........   0.007033ms
[Creating Huge Sequence] ......................... 174.465001ms
[Slicing Medium Sequence] ........................   0.003994ms
[Slicing Huge Sequence] ..........................   1.102984ms

Basic Timing for 50000 Motions
==============================
[Creating Motions with Callbacks in place] .......  16.813040ms
[60 Motion Steps (1sec at 60Hz)] ................. 198.194981ms
[Disconnecting Motions] ..........................   2.636015ms
[Step to remove disconnected Motions] ............  23.505986ms
[Creating Motions from existing Sequence] ........  10.752976ms
[60 Motion Steps (1sec at 60Hz)] ................. 171.004951ms

Comparative Performance: many targets, short animations.
========================================================
[Choreograph Create Average] .....................   2.339497ms
[Cinder Create Average] ..........................   3.372997ms
[Choreograph Step Average] ....................... 163.274735ms
[Cinder Step Average] ............................ 250.975251ms
[Create Performance (Choreograph / Cinder)] ......   0.693596
[Step Performance (Choreograph / Cinder)] ........   0.650561

Comparative Performance: single target, long animation.
=======================================================
[Choreograph Create Average] .....................   0.839740ms
[Cinder Create Average] .......................... 183.869496ms
[Choreograph Step Average] .......................  10.479763ms
[Cinder Step Average] ............................  96.323237ms
[Create Performance (Choreograph / Cinder)] ......   0.004567
[Step Performance (Choreograph / Cinder)] ........   0.108798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant