Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property access syntax causes massive performance drop #59

Open
Athari opened this issue Jun 8, 2015 · 0 comments
Open

Property access syntax causes massive performance drop #59

Athari opened this issue Jun 8, 2015 · 0 comments

Comments

@Athari
Copy link

Athari commented Jun 8, 2015

Your competitor here. 😀

I've run performance tests on YaLinqo, Ginq and Pinq. Whenever I use property access syntax, performance of Ginq queries drops 2-5 times. See gist with performance results (results from YaLinqo master branch). You should cache functions or something. Using "string lambdas" in YaLinqo, which rely on create_function, does decrease performance, but not so significantly (since I've added caching, inner queries stopped killing performance too).

Just curious, is using explicit iterator classes instead of generators a deliberate design decision, or do you just aim for compatibility with older PHP versions?

P. S. Thanks for competition. Ginq and Pinq forced me to finally update my library: add missing methods, improve performance, add integration with continuous integration and code quality tools, put reference documentation online etc. 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant