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

[WIP] improve performance for loading the standard node types #287

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

lsmith77
Copy link
Member

also requires changes in the transports

essentially the issue is that loading the standard node types is super slow, yet we load these everytime we run a query with the doctrine dbal transport

@@ -100,22 +100,29 @@ public function __construct(
*
* On fetch all, already cached node types are kept.
*
* @param string $name type name to fetch. defaults to null which will
* @param array $name type name to fetch. defaults to null which will
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be $names now

@dbu
Copy link
Member

dbu commented Feb 28, 2017

there is #342 which improves for user node types. pavel claims that the speed for standard node types is very high on php 7 - should we just drop these changes?

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

Successfully merging this pull request may close these issues.

None yet

2 participants