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

slow query with vibe.d #76

Open
zafer06 opened this issue Mar 14, 2018 · 7 comments
Open

slow query with vibe.d #76

zafer06 opened this issue Mar 14, 2018 · 7 comments

Comments

@zafer06
Copy link

zafer06 commented Mar 14, 2018

I use ddb in vibe.d project. I updated my project to vibe.d 0.8.3 but my queries is very slow. Any suggestion?

@jacob-carlborg
Copy link
Collaborator

Could you provide any more information?

@jacob-carlborg
Copy link
Collaborator

Could you please try the libevent sub configuration and see if it makes any difference?

@jacob-carlborg
Copy link
Collaborator

In vibe.d that is.

@zafer06
Copy link
Author

zafer06 commented Mar 14, 2018

Test results:

dmd 2.078.3 -- dub 1.7.2 -- vibe.d 0.8.2
====>> Working Time: 300 msecs . 300622 usecs . 300622200 nsecs -- 0.3 seconds


dmd 2.079.0 -- dub 1.8.0 -- vibe.d 0.8.3
====>> Working Time: 29609 msecs . 29609010 usecs . 29609010400 nsecs -- 29.609 seconds


dmd 2.079.0 -- dub 1.8.0 -- vibe.d 0.8.3 (subConfiguration "vibe-d:core" "libevent")
====>> Working Time: 29674 msecs . 29674573 usecs . 29674573200 nsecs -- 29.674 seconds

@jacob-carlborg
Copy link
Collaborator

You’re comparing using different versions of DMD, is it possible to use the same version?

@zafer06
Copy link
Author

zafer06 commented Mar 14, 2018

I think, problem is vibe.d 0.8.3 release.

dmd 2.078.3 -- dub 1.7.2 -- vibe.d 0.8.2
====>> Working Time: 300 msecs . 300622 usecs . 300622200 nsecs -- 0.3 seconds

dmd 2.078.3 -- dub 1.7.2 -- vibe.d 0.8.3
====>> Working Time: 29727 msecs . 29727536 usecs . 29727536200 nsecs -- 29.727 seconds

@jacob-carlborg
Copy link
Collaborator

Perhaps report an issue to vibe.d.

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

2 participants