https://github.com/athari/yalinqoperf
Benchmarks for YaLinqo, Ginq and Pinq [WTFPL*]
https://github.com/athari/yalinqoperf
Last synced: 5 months ago
JSON representation
Benchmarks for YaLinqo, Ginq and Pinq [WTFPL*]
- Host: GitHub
- URL: https://github.com/athari/yalinqoperf
- Owner: Athari
- License: other
- Created: 2014-07-12T09:31:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T15:56:15.000Z (over 7 years ago)
- Last Synced: 2025-03-31T01:41:28.867Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 173 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# *YaLinqoPerf: Benchmarks for YaLinqo, Ginq and Pinq*
https://github.com/Athari/YaLinqoPerf
About
=====Performance tests of libraries implementing LINQ in PHP. Only full-featured high-quality libraries are included: *YaLinqo*, *Ginq* and *Pinq*. The following cases are covered, where possible:
* *raw PHP* using `for` and `foreach` cycles
* *raw PHP* using array functions and closures
* *YaLinqo* using closures
* *YaLinqo* using string lambdas
* *Ginq* using closures
* *Ginq* using property accessors
* *Pinq* using closuresOther librararies are garbage and aren't worth using: *LINQ for PHP*, *Phinq*, *PHPLinq* and *Plinq* (see links to articles below for more information).
Libraries not implementing LINQ aren't included in this test: *Underscore.php*.
Results
=======See [Gist](https://gist.github.com/Athari/1d001fde76f86f219c23) (PHP 5.5.14 on Windows 7 SP1 64 bit).
Links
=====##### Articles
* **CodeProject** article *(English):* [LINQ for PHP comparison: YaLinqo, Ginq, Pinq](http://www.codeproject.com/Articles/997238/LINQ-for-PHP-comparison-YaLinqo-Ginq-Pinq).
* **Habrahabr** article *(Russian):* [LINQ for PHP: speed matters](http://habrahabr.ru/post/259155/).##### Libraries
* [**YaLinqo**](https://github.com/Athari/YaLinqo)
* [**Ginq**](https://github.com/akanehara/ginq)
* [**Pinq**](https://github.com/TimeToogo/Pinq)