Skip to content

Instantly share code, notes, and snippets.

@MrSmith33
Last active February 22, 2017 12:04
Show Gist options
  • Save MrSmith33/3b42e3f16419a9eb4d1ffee7869f925f to your computer and use it in GitHub Desktop.
Save MrSmith33/3b42e3f16419a9eb4d1ffee7869f925f to your computer and use it in GitHub Desktop.
Results of EntityPlus benchmark on my datadriven lib (ECS)
i7-4510U @ 2.00 GHz
Entity Count | Iterations | Probability | EntityPlus | EntityX   |
-----------------------------------------------------------------+
    1 000    | 1 000 000  |    1 in 3   |   1484 ms  |  20959 ms |
   10 000    | 1 000 000  |    1 in 3   |  15916 ms  | 208156 ms |
   30 000    |   100 000  |    1 in 3   |   5092 ms  |  63012 ms |
  100 000    |   100 000  |    1 in 5   |  13946 ms  | 133365 ms |
   10 000    | 1 000 000  |  1 in 1000  |   5334 ms  |  16883 ms |
  100 000    | 1 000 000  |  1 in 1000  |  86312 ms  | 170271 ms |

i7-2630QM 2GHz
Entity Count | Iterations | Probability | EntityPlus | EntityX   | datadriven
-----------------------------------------------------------------+-----------
    1 000    | 1 000 000  |    1 in 3   |   1240 ms  |  17131 ms |   2070 ms
   10 000    | 1 000 000  |    1 in 3   |  13444 ms  | 170303 ms |  25289 ms
   30 000    |   100 000  |    1 in 3   |   4272 ms  |  51526 ms |   6094 ms
  100 000    |   100 000  |    1 in 5   |  11553 ms  | 108438 ms |  12191 ms
   10 000    | 1 000 000  |  1 in 1000  |   5599 ms  |  12699 ms |    194 ms
  100 000    | 1 000 000  |  1 in 1000  |  82120 ms  | 128072 ms |    924 ms

i7-2630QM 2GHz - updated
Entity Count | Iterations | Probability | EntityPlus | EntityX   | datadriven
-----------------------------------------------------------------+-----------
    1 000    | 1 000 000  |    1 in 3   |   1516 ms  |  17131 ms |   2070 ms
   10 000    | 1 000 000  |    1 in 3   |  15254 ms  | 170303 ms |  25289 ms
   30 000    |   100 000  |    1 in 3   |   4601 ms  |  51526 ms |   6094 ms
  100 000    |   100 000  |    1 in 5   |  11977 ms  | 108438 ms |  12191 ms
   10 000    | 1 000 000  |  1 in 1000  |    421 ms  |  12699 ms |    194 ms
  100 000    | 1 000 000  |  1 in 1000  |   4900 ms  | 128072 ms |    924 ms

Download benchmark for datadriven http://s000.tinyupload.com/?file_id=05531296618453118044

Download benchmark for EntityPlus:

EntityPlus https://github.com/Yelnats321/EntityPlus

datadriven https://github.com/MrSmith33/datadriven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment