Skip to content

marekskopal/orm-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORM Benchmark

Benchmark for ORM libraries.

Main goal is to compare performance of different ORM libraries specially in comparision with my own ORM library.

Comparated Libraries

Installation

Clone this repository and install dependencies via Composer:

composer install

Usage

Run benchmark:

./bin/console benchmark 100000

Parameter 100000 is number of precreated entities to be tested with selects.

Results

Select in milliseconds:

ORM selectOneRow selectOneRowThousandTimes selectAllRows
MarekSkopalORM 1.553708 15.247417 554.422375
CycleORM 5.68475 24.939208 1559.673667

Insert in milliseconds:

ORM insertOneRow insertOneRowThousandTimes insertOneThousandRows
MarekSkopalORM 0.942292 422.615833 416.305333
CycleORM 2.955875 549.028083 561.206375

Contributing

If you want to contribute, feel free to submit a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages