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

Type conversion takes a serious amount of time #146

Open
Aeolun opened this issue Nov 7, 2016 · 0 comments
Open

Type conversion takes a serious amount of time #146

Aeolun opened this issue Nov 7, 2016 · 0 comments

Comments

@Aeolun
Copy link

Aeolun commented Nov 7, 2016

Hi,

I'm not entirely sure why it happens, and I suppose there is a good reason for it, but when I query an object, the single request (to a rather large document, to be fair) takes 0.3s in total. That felt quite long for a query to a table with a single document, but specifically for the php library, converting the returned json response to a datum, and back to a native document (an ArrayObject), takes 0.22s of that total.

Considering what I'm looking to receive is a php stdObject, I'm a bit confused as to why this whole step has to take place? It appears we're going from native, to a bunch of objects, to native again.

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