forked-php-orm-benchmark
forked-php-orm-benchmark copied to clipboard
Update to latest versions
- Eloquent just needed a version bump
- Doctrine needed a different config/setup and converting the doc block stuff to attributes
- I had trouble with the caching setup, so I removed it. You may want to look into that, not sure how or why they changed it.
- Sirius just needed some ? in front of nullable types. Upgrading Nette stuff resulted in errors, so I did not.
- The CycleORM stuff is causing me grief with all the changes (about as bad as Doctrine), but docs are not straight forward. I may revisit later, but not changing that for now.
In general, you should probably only one one benchmark per invocation. The problem is PHP or SQLite could be caching things and not produce correct results for the second run.
Let me know what you think.