logoalt Hacker News

tcfhgjyesterday at 11:07 PM1 replyview on HN

did you profile what made it so slow specifically? sounds waaaaay worse than I would expect


Replies

resoniousyesterday at 11:20 PM

I did. I don't remember the specifics too well but a lot of it was cold starts. So just crunching the massive wasm binary was a big part of it. Otherwise it was the matchit library and js interop marshalling taking the rest of the time.

edit: and it cold started quite often. Even with sustained traffic from the same source it would cold start every few requests.