September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote:
> wrong version, this is my letest version: https://paste.ofcode.org/qWsQikdhKiAywgBpKwANFR
Thank you!
Updated.
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin Attachments:
| BTW: I have changed dub.json a little too:
{
"name": "vibedtest",
"targetName": "vibedtest",
"targetType": "executable",
"targetPath": "bin",
"dependencies": {
"vibe-d": "~>0.8.2-alpha.1"
},
"subConfigurations": {"vibe-d": "libevent"},
"versions": [
"VibeManualMemoryManagement"
],
"buildTypes": {
"release": { "buildOptions": ["releaseMode", "optimize", "inline"],
"dflags-posix-ldc": ["-flto=thin",
"-Xcc=-fuse-ld=gold"] }
}
}
On Thu, Sep 21, 2017 at 3:32 PM, Vadim Lopatin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
> On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote:
>
>> wrong version, this is my letest version: https://paste.ofcode.org/qWsQi kdhKiAywgBpKwANFR
>>
>
> Thank you!
> Updated.
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Attachments:
| And it seems it is faster with GC. So removing VibeManualMemoryManagement helped in some cases too.
On Thu, Sep 21, 2017 at 3:43 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
> BTW: I have changed dub.json a little too:
>
> {
> "name": "vibedtest",
> "targetName": "vibedtest",
> "targetType": "executable",
> "targetPath": "bin",
> "dependencies": {
> "vibe-d": "~>0.8.2-alpha.1"
> },
> "subConfigurations": {"vibe-d": "libevent"},
> "versions": [
> "VibeManualMemoryManagement"
> ],
> "buildTypes": {
> "release": { "buildOptions": ["releaseMode", "optimize", "inline"],
> "dflags-posix-ldc": ["-flto=thin",
> "-Xcc=-fuse-ld=gold"] }
> }
> }
>
> On Thu, Sep 21, 2017 at 3:32 PM, Vadim Lopatin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>
>> On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote:
>>
>>> wrong version, this is my letest version: https://paste.ofcode.org/qWsQi kdhKiAywgBpKwANFR
>>>
>>
>> Thank you!
>> Updated.
>>
>
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Attachments:
| Ok, after some more testing it seems it is almost sema with or without VibeManualMemoryManagement
On Thu, Sep 21, 2017 at 3:44 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
> And it seems it is faster with GC. So removing VibeManualMemoryManagement helped in some cases too.
>
> On Thu, Sep 21, 2017 at 3:43 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
>
>> BTW: I have changed dub.json a little too:
>>
>> {
>> "name": "vibedtest",
>> "targetName": "vibedtest",
>> "targetType": "executable",
>> "targetPath": "bin",
>> "dependencies": {
>> "vibe-d": "~>0.8.2-alpha.1"
>> },
>> "subConfigurations": {"vibe-d": "libevent"},
>> "versions": [
>> "VibeManualMemoryManagement"
>> ],
>> "buildTypes": {
>> "release": { "buildOptions": ["releaseMode", "optimize",
>> "inline"],
>> "dflags-posix-ldc": ["-flto=thin",
>> "-Xcc=-fuse-ld=gold"] }
>> }
>> }
>>
>> On Thu, Sep 21, 2017 at 3:32 PM, Vadim Lopatin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>>
>>> On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote:
>>>
>>>> wrong version, this is my letest version: https://paste.ofcode.org/qWsQikdhKiAywgBpKwANFR
>>>>
>>>
>>> Thank you!
>>> Updated.
>>>
>>
>>
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Attachments:
| s'/sema/same/
On Thu, Sep 21, 2017 at 3:46 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
> Ok, after some more testing it seems it is almost sema with or without VibeManualMemoryManagement
>
> On Thu, Sep 21, 2017 at 3:44 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
>
>> And it seems it is faster with GC. So removing VibeManualMemoryManagement helped in some cases too.
>>
>> On Thu, Sep 21, 2017 at 3:43 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
>>
>>> BTW: I have changed dub.json a little too:
>>>
>>> {
>>> "name": "vibedtest",
>>> "targetName": "vibedtest",
>>> "targetType": "executable",
>>> "targetPath": "bin",
>>> "dependencies": {
>>> "vibe-d": "~>0.8.2-alpha.1"
>>> },
>>> "subConfigurations": {"vibe-d": "libevent"},
>>> "versions": [
>>> "VibeManualMemoryManagement"
>>> ],
>>> "buildTypes": {
>>> "release": { "buildOptions": ["releaseMode", "optimize",
>>> "inline"],
>>> "dflags-posix-ldc": ["-flto=thin",
>>> "-Xcc=-fuse-ld=gold"] }
>>> }
>>> }
>>>
>>> On Thu, Sep 21, 2017 at 3:32 PM, Vadim Lopatin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>>>
>>>> On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak wrote:
>>>>
>>>>> wrong version, this is my letest version: https://paste.ofcode.org/qWsQikdhKiAywgBpKwANFR
>>>>>
>>>>
>>>> Thank you!
>>>> Updated.
>>>>
>>>
>>>
>>
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Thursday, 21 September 2017 at 13:46:49 UTC, Daniel Kozak wrote:
> Ok, after some more testing it seems it is almost sema with or without VibeManualMemoryManagement
Do you see any benefits from using LDC instead of DMD?
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin Attachments:
| with dmd 26K - 28K
witlh ldc 27K - 29K
On Thu, Sep 21, 2017 at 3:53 PM, Vadim Lopatin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
> On Thursday, 21 September 2017 at 13:46:49 UTC, Daniel Kozak wrote:
>
>> Ok, after some more testing it seems it is almost sema with or without VibeManualMemoryManagement
>>
>
> Do you see any benefits from using LDC instead of DMD?
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | Other implementations use switch. https://dpaste.dzfl.pl/406dafbedbd9 is it slower? |
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin Attachments:
| in this situation I dont thing there will be difference
On Thu, Sep 21, 2017 at 6:20 PM, Kagamin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
> Other implementations use switch. https://dpaste.dzfl.pl/406dafbedbd9 is it slower?
>
|
September 21, 2017 Re: Simple web server benchmark - vibe.d is slower than node.js and Go? | ||||
---|---|---|---|---|
| ||||
Attachments:
| Ok, maybe there is a some small improvments, but it is nothing what would make this faster than rust and still undere 30K on my pc
On Thu, Sep 21, 2017 at 7:02 PM, Daniel Kozak <kozzi11@gmail.com> wrote:
> in this situation I dont thing there will be difference
>
> On Thu, Sep 21, 2017 at 6:20 PM, Kagamin via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>
>> Other implementations use switch. https://dpaste.dzfl.pl/406dafbedbd9 is it slower?
>>
>
>
|
Copyright © 1999-2021 by the D Language Foundation