ddb
ddb copied to clipboard
slow query with vibe.d
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?
Could you provide any more information?
Could you please try the libevent sub configuration and see if it makes any difference?
In vibe.d that is.
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
You’re comparing using different versions of DMD, is it possible to use the same version?
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
Perhaps report an issue to vibe.d.