Database libraries benchmark based on Employees Sample Database
The task is:
Select 500 employees from the Employees database, for each of them show all of their salaries and all the departments they belong to.
Forked from @dg (https://github.com/dg/db-benchmark).
Idea by @tharos (http://forum.nette.org/cs/viewtopic.php?pid=106521#p106521).
- Doctrine2 [~2.4]
- LeanMapper [~2.0]
- NextrasOrm [~1.0]
- YetORM [~8.0]
- Nette Database [~2.0, ~2.1, ~2.2, ~2.3, master]
- NotORM [master]
- Run
installall
- it installs all dependencies for each library - Update
$config
inbootstrap.php
- database driver / dbname / user / password - Run
composer -d import install
- it installs dependencies for import script - Run
php import/import.php
- it imports all needed SQL code - Run
testall
or reach library individuallyphp run-employees.php
a) Download over HTTP (https://launchpad.net/test-db/employees-db-1/1.0.6/)
b) Download over Github, branch data.
a) By yourself
b) Over simple import tool