-
Notifications
You must be signed in to change notification settings - Fork 9
Description
This SDK is massive, bundled/minified it's 6MB, mainly because of all the serializers.
It makes it impossible to use it in some environment (ex: Cloudflare Workers) as it slows down the start of any application. For example, in the tests we have done with Node.js, it alone adds 400ms of boot time.
I'm not sure how you can fix it as it looks like it's an architecture decision with Fern :/ Fern SDK don't seem optimized for this scale (or performances in general).
There is also no workaround as sub-apis can't be exported. At this stage, as we evaluate Merge.dev, it makes us consider competitors as otherwise we need to implement our own light API client for it.
In our case, we'll also don't want to slow down our entire application just for the simplicity of using Merge.
