Skip to content

Instantly share code, notes, and snippets.

@hrach
Created April 26, 2014 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrach/11317435 to your computer and use it in GitHub Desktop.
Save hrach/11317435 to your computer and use it in GitHub Desktop.
NDB 2.0 | Time: 21.345 s | Memory: 9.2 MB | PHP: 5.5.11 | Nette: 2.0.14
NDB 2.1 | Time: 1.830 s | Memory: 8.8 MB | PHP: 5.5.11 | Nette: 2.1.2
NDB 2.2 | Time: 1.838 s | Memory: 8.6 MB | PHP: 5.5.11 | Nette: 2.2.x
Nextras\Orm | Time: 1.514 s | Memory: 13.6 MB | PHP: 5.5.11
NotOrm | Time: 9.378 s | Memory: 7.1 MB | PHP: 5.5.11
LeanMapper | Time: 1.807 s | Memory: 9.6 MB | PHP: 5.5.11
Doctrine | Time: 50.387 s | Memory: 19.4 MB | PHP: 5.5.11 | Doctrine: 2.4.1
@JanTvrdik
Copy link

Ti to běhá nějak podezřele pomalu, tohle jsem naměřil já:

NDB 2.0      | Time:  4.613 s | Memory: 14.8 MB | PHP: 5.6.0beta1 | Nette: 2.0.14
NDB 2.1      | Time:  0.706 s | Memory: 14.1 MB | PHP: 5.6.0beta1 | Nette: 2.1.2
NDB 2.2      | Time:  0.713 s | Memory: 13.8 MB | PHP: 5.6.0beta1 | Nette: 2.2.x
Nextras\Orm  | Time:  0.698 s | Memory: 21.4 MB | PHP: 5.6.0beta1
NotOrm       | Time:  1.460 s | Memory: 11.5 MB | PHP: 5.6.0beta1
LeanMapper   | Time:  0.570 s | Memory: 16.0 MB | PHP: 5.6.0beta1
Doctrine2    | Time:  2.008 s | Memory: 31.6 MB | PHP: 5.6.0beta1 | Doctrine: 2.4.1

@JanTvrdik
Copy link

Jinak zdrojáky testu jsou tady:
https://github.com/hrach/db-benchmark/tree/nextras

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