3 ms·
I love these but I've also seen in some of the implementations that I care about a bit of benchmark gaming. That saddens me and I wonder just how much of it is
by wheaties 8y ago
I love these but I've also seen in some of the implementations that I care about a bit of benchmark gaming. That saddens me and I wonder just how much of it is happening in languages and frameworks that I don't follow.
- brightball 8y agoIt'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.