4 ms·
It's interesting to look at the source code. There's definitely some heavy differences in how each implementation is handling underlying aspects of the tests.
by brightball 8y ago
It's interesting to look at the source code. There's definitely some heavy differences in how each implementation is handling underlying aspects of the tests.
Just looking at the database related ones to see about some of the differences in interesting.
It also doesn't look like the Elixir code has really been updated in about 2 years (aside from version bumps). It's still using a JSON encoder (Poison) that's 4x slower than the primary one (Jason). For multiple queries, Ecto hands back the connection after every query for concurrency sake. Looks like the Plug logger is still setup on the endpoint.
I'd be really interested to see the Discord folks look at that as a pet project. :-)
- nobleach 8y agoThat's the beauty of these "pinewood derbies" though. Sometimes they sit dormant until some kind soul says, "HEY!, that's not representative of my favorite framework!" and submits a PR to showcase its true capabilities.