Slow startup times when importing Effect in v8 runtimes
effect⏳Unresolvedschema
Hey I’m working on a library / app template that combines Convex with Effect and I’m working on debugging some performance issue that I believe I have narrowed down to Effect
Basically when I have Effect imported it adds ~40-50ms to the startup times, if I replace that import with effect micro the startup time hit goes away
Fair note I haven’t dug too deep into benchmarking it yet, these were generated by Claude this post is more to get a gut check on if this is a known problem, if so I’ll dive more into it
I’ve got two questions on this that I’d appreciate some guidance on: 1. Is this a known issue with v8 / similar runtimes? 2. If so, would it be recommended to wait for effect 4.0 / effect-smol or roll my own small rpc handler with micro that doesn’t use effect schema?
Feels like there’s a lot of good potential here for an end to end effect template so would love any guidance on getting it right, thanks!