On Monday, 28 October 2024 at 01:06:58 UTC, Kyle Ingraham wrote:
>I know vibe.d can do better so I'm thinking there's something I'm missing.
Sönke Ludwig solved this for me here: https://github.com/vibe-d/vibe.d/issues/2807#issue-2630501194
The solution was to switch to a configuration for eventcore that uses kqueue directly instead of CFRunLoop. Doing that brought performance back to the stratosphere.
Solution from the GitHub issue:
"You can add an explicit sub configuration to dub.json:
"dependencies": {
"vibe-d": "~>0.10.1",
"eventcore": "~>0.9.34"
},
"subConfigurations": {
"eventcore": "kqueue"
},
Or you could pass --override-config=eventcore/kqueue to the dub invocation to try it out temporarily."
I elected to go with the command line flag approach.